Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tickets/DM-17390 Fix ReferenceObjLoader class load pixel box #147

Merged
merged 1 commit into from Jan 26, 2019

Conversation

natelust
Copy link
Contributor

Fix ReferenceObjLoader class load pixel box

Some functionality of the new reference object loader class could
not be tested until development of gen3/PipelineTask was further
along. This exposed a few minor bugs that this ticket fixes.

md.add("SMATCHV", 1, 'SourceMatchVector version number')
filterName = "UNKNOWN" if filterName is None else str(filterName)
md.add('FILTER', filterName, 'filter name for photometric data')
md.add('EPOCH', "NONE" if epoch is None else epoch, 'Epoch (TAI MJD) for catalog')
md.add('EPOCH', "NONE" if epoch is None else str(epoch), 'Epoch (TAI MJD) for catalog')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a comment here noting that this is a workaround for code that probably never worked, so some future person fixing the underlying problem doesn't think it's sacrosanct.

Some functionality of the new reference object loader class could
not be tested until development of gen3/PipelineTask was further
along. This exposed a few minor bugs that this ticket fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants