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

Implement stpipe run CLI command #43

Closed
stscijgbot-jp opened this issue Feb 5, 2021 · 1 comment
Closed

Implement stpipe run CLI command #43

stscijgbot-jp opened this issue Feb 5, 2021 · 1 comment

Comments

@stscijgbot-jp
Copy link

Issue JP-1894 was created on JIRA by Edward Slavich:

Implement the "stpipe run" CLI subcommand.  Here is the tentative help output for the command:

$ ./stpipe run -h
usage: stpipe run [-h] [--config <path>] [-d] [-p <name>=<value>] [-v] <class> <input-file>

run a step or pipeline

positional arguments:
  <class>            step or pipeline class name (case-insensitive, module path may be omitted for unique class names)
  <input-file>       input dataset or association

optional arguments:
  -h, --help         show this help message and exit
  --config <path>    config file (use 'stpipe print-config' to save and edit the default config)
  -d, --debug        debug logging (DEBUG level)
  -p <name>=<value>  override an individual step or pipeline parameter (use 'stpipe describe' to list available parameters)
  -v, --verbose      verbose logging (INFO level)

examples:
  run a pipeline with default parameters recommended by CRDS:

    stpipe run jwst.pipeline.Detector1Pipeline dataset.fits

  run a pipeline with parameters specified in a local config:

    stpipe run --config config.asdf jwst.pipeline.Detector1Pipeline dataset.fits

  override an individual pipeline parameter:

    stpipe run -p save_calibrated_ramp=true jwst.pipeline.Detector1Pipeline dataset.fits

  override an individual step parameter:

    stpipe run -p jump.rejection_threshold=3.0 jwst.pipeline.Detector1Pipeline dataset.fits

See #8 for more discussion.

@nden nden added the stpipe label Feb 19, 2021
@hbushouse hbushouse transferred this issue from spacetelescope/jwst Mar 29, 2022
@stscijgbot-jp
Copy link
Author

Comment by Howard Bushouse on JIRA:

Closing this ticket. The work will be tracked via the stpipe issue #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants