@@ -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
50502 . 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
6262If 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```
6666If 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