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

DM-5633: Add config and data products #22

Merged
merged 1 commit into from Apr 3, 2016
Merged

Conversation

hsinfang
Copy link

for running forcedPhotCcd, coaddDriverTask, and multiBandDriverTask

@jhoblitt
Copy link
Member

Can one of the admins verify this patch?

for sub in ("mergeCoaddDetections", "measureCoaddSources", "mergeCoaddMeasurements", "forcedPhotCoadd"):
path = os.path.join(getPackageDir("obs_decam"), "config", sub + ".py")
if os.path.exists(path):
getattr(config, sub).load(path)
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't need to be addressed here, but I noticed that this same code is in the obs_subaru config override. Does it make sense to push this into the task config? I'm not sure how to do it, but it always worries me to see this much duplicated code.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a feature we need to push up into our framework, somehow, sometime.

Copy link
Contributor

Choose a reason for hiding this comment

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

If there's not a ticket, I've asked Hsin-Fang to file one.

Copy link
Author

Choose a reason for hiding this comment

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

I've filed DM-5712 to add that new feature.

@hsinfang hsinfang force-pushed the tickets/DM-5633 branch 2 times, most recently from 438ef4b to ce4672c Compare April 3, 2016 20:17
@hsinfang hsinfang merged commit 7f2b655 into master Apr 3, 2016
@ktlim ktlim deleted the tickets/DM-5633 branch August 25, 2018 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants