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

We now obey INHERIT, so PROPOSER should be seen #62

Merged
merged 1 commit into from Jul 13, 2017

Conversation

RobertLuptonTheGood
Copy link
Member

Changes are on afw, this is a fix to a now-incorrect test

Copy link
Contributor

@parejkoj parejkoj left a comment

Choose a reason for hiding this comment

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

See comment.

Is decam the only place we currently run into problems with this?

@@ -85,9 +85,6 @@ def testInstcal(self):
self.assertAlmostEqual(weather.getAirPressure(), visit229388_info['weath_airPressure'])
self.assertAlmostEqual(weather.getHumidity(), visit229388_info['weath_humidity'])

# Example of metadata which should *not* have been copied from zeroth extension.
self.assertNotIn("PROPOSER", exp.getMetadata().paramNames())
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any metadata which should get copied from the zeroth extension?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know for DECam, but in general yes -- things like OBS-DATE and EXPTIME tend to be in the PDU.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have a test for that then?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably, but we also need to remove the special-case code someone added to obs_decam to work around this bug. So I'll defer the testing to that ticket (DM-11264)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok. That's probably all best tested as part of the general set of metadata tests in obs_base (which obs_decam is already partly ported to on DM-7730).

@RobertLuptonTheGood RobertLuptonTheGood merged commit 6d684ed into master Jul 13, 2017
@ktlim ktlim deleted the tickets/DM-11236 branch August 25, 2018 06:44
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