LSSTDESC / rail

Top level "umbrella" package for RAIL
MIT License
8 stars 4 forks source link

added some rail scripts #30

Closed eacharles closed 1 year ago

eacharles commented 1 year ago

I've added a command line rail command and some scripts that do useful things:

(rail-test) PC100868$ rail --help
Usage: rail [OPTIONS] COMMAND [ARGS]...

  RAIL utility scripts

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  clone-source  Install packages from source
  install       pip install rail packages one by one, to be fault tolerant
  render-nb     Render jupyter notebooks
(rail-test) PC100868$ rail clone-source --help
Usage: rail clone-source [OPTIONS]

  Install packages from source

Options:
  --outdir PATH               Output directory.
  --git-mode [ssh|https|cli]  Git Clone mode
  --dry-run                   Dry run only
  --package-file PATH         File with package
  --help                      Show this message and exit.
(rail-test) PC100868$ rail install --help
Usage: rail install [OPTIONS]

  pip install rail packages one by one, to be fault tolerant

Options:
  --outdir PATH        Output directory.
  --dry-run            Dry run only
  --from-source        Install from source
  --package-file PATH  File with package
  --help               Show this message and exit.
(rail-test) PC100868$ rail clone-source --help
Usage: rail clone-source [OPTIONS]

  Install packages from source

Options:
  --outdir PATH               Output directory.
  --git-mode [ssh|https|cli]  Git Clone mode
  --dry-run                   Dry run only
  --package-file PATH         File with package
  --help                      Show this message and exit.
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 54.47% and project coverage change: +54.83 :tada:

Comparison is base (2d2be07) 0.00% compared to head (12da3f1) 54.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #30 +/- ## ========================================= + Coverage 0 54.83% +54.83% ========================================= Files 0 3 +3 Lines 0 124 +124 Branches 0 21 +21 ========================================= + Hits 0 68 +68 - Misses 0 49 +49 - Partials 0 7 +7 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `54.83% <54.47%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/LSSTDESC/rail_hub/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC) | Coverage Δ | | |---|---|---| | [src/rail/hub/\_\_init\_\_.py](https://app.codecov.io/gh/LSSTDESC/rail_hub/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvaHViL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [src/rail/hub/scripts.py](https://app.codecov.io/gh/LSSTDESC/rail_hub/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvaHViL3NjcmlwdHMucHk=) | `37.34% <37.34%> (ø)` | | | [src/rail/hub/options.py](https://app.codecov.io/gh/LSSTDESC/rail_hub/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvaHViL29wdGlvbnMucHk=) | `90.00% <90.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.