Conversation
f8ba123 to
be98256
Compare
ba87fdc to
d675f7f
Compare
bf6d884 to
e6f7574
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4105 +/- ##
==========================================
+ Coverage 48.08% 49.44% +1.36%
==========================================
Files 144 149 +5
Lines 30243 29802 -441
==========================================
+ Hits 14541 14737 +196
+ Misses 15702 15065 -637 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
53bf7c4 to
ddbf2c1
Compare
chris-ashe
left a comment
There was a problem hiding this comment.
Just a few requests.
- Can we add
-has a shortcut for--helpas this was a legacy option? - In some of the plotting options you have to specify
-fbefore the MFILE's while in some the value is positional. - In the Sankey plot section there is no option to plot the interactive
plotlyoption. Only the old Matplotlib one is there.
|
Yeah I can do that
the costs ones are positional (I think thats the only case where its an arg) because you can specify lots of files
|
timothy-nunn
left a comment
There was a problem hiding this comment.
Half way through my review and only comments so far are around filenames. Will post them now so they don't get lost over Easter.
|
Ive also moved all the process config process funcs into a vary run folder because they were only used there and essentially is io for vary run. There is also a fix for #4011 |
timothy-nunn
left a comment
There was a problem hiding this comment.
The --mfile fix is only half working. If I run:
process -i large_tokamak_nof.IN.DAT --mfile my.MFILE.DAT --full-output then it fails because it looks for my.SIG_TF.json... I would suggest propagating the mfile prefix to the OUT.DAT, SIG_TF.json, and the .log file.
timothy-nunn
left a comment
There was a problem hiding this comment.
Still also getting errors for the two commands not ticked in #4105 (comment)
* mv * Overhall CI * plot_scans * sankey * fix costs * fix some bugs * sankey fix * rewrite sankey * rebase fixes * path fixes * add click dep * mfile cleanup * import fixes * inits * some fixes * fix unit tests * more fixes * use pre release click * mf. ... * tmp * example fixes * tmp mfi;e * imports * cleanup runconfig * minor fixes * cleanup * rewrite runprocessconfig * cleanup * add test back * add help * some suggested changes and varyrun rearrangement * default needs to be none for mfile_path to work * click is released * Goodbye plot_proc, Hello plot_summary etc * adjust how mfile out works * fix convert * fix csv convert * add toml dep * fix mfile_path * fix help string * more fixes
* mv * Overhall CI * plot_scans * sankey * fix costs * fix some bugs * sankey fix * rewrite sankey * rebase fixes * path fixes * add click dep * mfile cleanup * import fixes * inits * some fixes * fix unit tests * more fixes * use pre release click * mf. ... * tmp * example fixes * tmp mfi;e * imports * cleanup runconfig * minor fixes * cleanup * rewrite runprocessconfig * cleanup * add test back * add help * some suggested changes and varyrun rearrangement * default needs to be none for mfile_path to work * click is released * Goodbye plot_proc, Hello plot_summary etc * adjust how mfile out works * fix convert * fix csv convert * add toml dep * fix mfile_path * fix help string * more fixes
Description
Rewrites the CLI to use click and orchestrates all cli modules under the process cli function
Closes #4011
Checklist
I confirm that I have completed the following checks: