Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_photocal
-
Labels:None
-
Team:Data Release Production
Description
When you create a PhotoCalTask it sometimes adds a column to the schema, which it then blithely uses in its run method even if it is not actually present in the input tables.
Please add a check that the column is really there.
I find the code very confusing. Existing issues:
As a result I don't really know what Match.second is, and what the test you added actually does:
matches[0].second.getSchema().find(self.output)
The code undoubtedly does what you say it does, but some code comments would be a big help.