templater.py silently failing? #301
-
Hi everyone, I am running into an odd situation with templater.py where it is silently failing to produce output files, and potentially failing to run at all. (uwtools) login4.frontera(1063)$ python /work2/02441/bcash/frontera/workflow-tools/src/uwtools/config/templater.py -i /work2/02441/bcash/frontera/ufs_input/prototype-p8/IC/templates/C384.common_file_list.txt -o test.common_file_list.txt It's been a while since I have used the templater.py tool, so maybe the commands have changed? From the documentation it seems like the above commands should have produced at least some output, even if just an error message for including the wrong options, so I am confused as to why it is completely silent. Any help here would be much appreciated. :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@benjamin-cash We've had a bit of code re-org lately and moved around our command line entry points. We appreciate you bringing this to our attention so we can prioritize re-working the documentation. Now you can get the same templater functionality from the older version of running a script by calling the command line tool -- given that you have installed the conda package in your environment. Give this interface a try for your templater needs:
This will now be the pattern for all the command line tools in a single modal interface. All levels of the tool respond nicely to a
Or, if you want to see all the things that you can do with a config file:
Let me know if this works for you. |
Beta Was this translation helpful? Give feedback.
@benjamin-cash We've had a bit of code re-org lately and moved around our command line entry points. We appreciate you bringing this to our attention so we can prioritize re-working the documentation.
Now you can get the same templater functionality from the older version of running a script by calling the command line tool -- given that you have installed the conda package in your environment.
Give this interface a try for your templater needs:
This will now be the pattern for all the command line tools in a single modal interface. All levels of the tool respond nicely to a
-h
flag to tell you your next choices. For example, if you wanted to compare two config files: