-
Notifications
You must be signed in to change notification settings - Fork 3
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
allow to skip some routines #13
Comments
it's not obvious what's the best way to do this.
if not args.begin:
tasks.call_gsflat(...)
...
if args.begin not in (lacos, gswavelength, gstransform, gsskysub):
tasks.call_gsreduce(...)
...
if args.begin not in (gswavelength, gstransform, gsskysub):
tasks.call_lacos(...)
...
if args.begin not in (gstransform, gsskysub):
tasks.call_gswave(...)
...
# and so on
|
For now will try option 2. However, that when skipping each task I should also make sure that the output files exist! |
implemented in 95e9c18 |
the problem with all of this is that I may want to skip it for one exposure but not necessarily for all! It will be very hard to properly get around that, but for now I'll do the following: if |
|
but then we have the opposite: what if I want to start from the beginning on (say) the second set of files? Maybe the script should just prompt whenever the output file exists? |
For instance, if the wavelength solution didn't quite work, it isn't necessary to do all the previous steps. It would be good if the code just started from the wavelength calibration using the (presumably) updated configuration.
The text was updated successfully, but these errors were encountered: