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-6640: IsrTask is not a valid CmdLineTask #17

Merged
merged 1 commit into from Sep 24, 2018
Merged

Conversation

czwa
Copy link
Contributor

@czwa czwa commented Sep 5, 2018

This ticket adds a stand-alone runIsr.py script, as well as ensuring that runIsr.py and processCcd.py read the same ISR configuration files.

@mfisherlevine
Copy link
Contributor

Looks good to me. Just be sure to test it with ci_ctio0m9 and if that passes then you're good to go 👍

from lsst.meas.algorithms import LoadIndexedReferenceObjectsTask
from lsst.meas.astrom import MatchPessimisticBTask
from lsst.utils import getPackageDir

ObsConfigDir = os.path.join(getPackageDir("obs_ctio0m9"), "config")
Copy link
Contributor

@yalsayyad yalsayyad Sep 10, 2018

Choose a reason for hiding this comment

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

https://developer.lsst.io/python/style.html#id29

but all other names are camelCase with leading lowercase. In particular:
...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed across all obs_* packages.

The IsrTask was not usable as a CmdLineTask, as it was written to be
called as a subtask of ProcessCcdTask.  This allows the default
IsrTask to be retargeted to camera-specific versions of the ISR
processing.  A new RunIsrTask now exists to hold IsrTask for
retargetting in standalone processing, and both processCcd.py and
runIsr.py now read from the same configuration files for each obs_
package.  This has involved migrating configuration values from
config/processCcd.py to config/isr.py for many obs_ packages.
@czwa czwa merged commit 4a1accf into master Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants