Expected behavior of armi check-inputs #508
Replies: 2 comments 3 replies
-
Huh. I haven't looked at |
Beta Was this translation helpful? Give feedback.
-
Hi @john-science and @drewj-usnctech - I made this entry point awhile ago as a way for the user to quickly run a command on a settings file and get a report out if there are any initialization issues with the model, including reporting any warnings related to inconsistent settings (e.g., using the settings validators) or other warnings with loading the blueprints. It's likely that this is untested at this point, but I agree that we should use an existing case to test this functionality under continuous integration. Could you make a bug report for the issue with it searching for all .YAML files even when a specific settings file is given? This is not intended behavior. |
Beta Was this translation helpful? Give feedback.
-
tl;dr
Body
From the
armi -l
command listThis feels like it could be an awesome feature to have in some repository that contains ARMI inputs files (e.g., FFTF model) as part of some continuous integration check. If someone wants to push changes to some baselined ARMI input file,
armi check-inputs
could be run along side a more technical review.I ran this command on the most recent FFTF model terrapower/fftf-isothermal-model@793fd8e with 47d3cc7
and got the following output
Some things jumped out to me
*.yaml
files. If I passedFFTF.yaml FFTF.yaml
as the settings and patterns arguments, then only theFFTF.yaml
file was processed255
. For CI applications, a non-zero exit code would indicate failure. Is this related to the fact that this ARMI version doesn't know if the FFTF model can start?I can create an operator using
armi.init(fName="FFTF.yaml")
which feels like ahackproxy for this subcommand.Beta Was this translation helpful? Give feedback.
All reactions