Skip to content

Commit ca3fa3f

Browse files
committed
JIP: Previous commit failed. I made small change
to python-app.yml
1 parent 617214d commit ca3fa3f

6 files changed

Lines changed: 401 additions & 359 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
build:
6+
build: JIP yaml testing code
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ expected to contain at least the columns used by the script (see examples / gene
2424
---
2525

2626
## What this repo contains
27-
- `src/Grotrian-JIP-NEW.py` — main script (CLI) that produces the diagram.
27+
- `src/cli.py` — main script (CLI) that produces the diagram.
2828
- `data/` — example small tables (just the Mg I specie) to test the script without the SQL DB.
2929
- `ModelAtomicIonLevel.dat`
3030
- `ModelAtomicIonLevelSublevel.dat`
@@ -49,7 +49,7 @@ pip install -r requirements.txt
4949

5050
2. Run with the small demo tables included in this repo:
5151
```bash
52-
python src/Grotrian-JIP-NEW.py \
52+
python src/cli.py \
5353
--file-level data/ModelAtomicIonLevel.dat \
5454
--file-sublevel data/ModelAtomicIonLevelSublevel.dat \
5555
--file-linefine data/ModelAtomicIonLineFine.dat \
@@ -61,7 +61,7 @@ python src/Grotrian-JIP-NEW.py \
6161

6262
If you have the real SRPM SQL database available (and JIP helpers):
6363
```bash
64-
python src/Grotrian-JIP-NEW.py --database AtomicModelsCCA --Z 12 --ion 0 --levs 1-25 --out figures/mgI_sql.png
64+
python src/cli.py --database AtomicModelsCCA --Z 12 --ion 0 --levs 1-25 --out figures/mgI_sql.png
6565
```
6666
If both local files and DB are provided, local files take precedence.
6767

@@ -103,7 +103,7 @@ The provided script and the demo tables generate a figure similar in layout to F
103103

104104
- 1) ipython
105105
```bash
106-
%run src/Grotrian-JIP-NEW.py --file-level data/ModelAtomicIonLevel.dat \
106+
%run src/cli.py --file-level data/ModelAtomicIonLevel.dat \
107107
--file-sublevel data/ModelAtomicIonLevelSublevel.dat \
108108
--file-linefine data/ModelAtomicIonLineFine.dat \
109109
--levs 1-25 --out figures/mgI_demo.png

0 commit comments

Comments
 (0)