You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to use the WATTS MCNP plugin, where I add an extra templated input file to the main input.
Inside the main MCNP input (main.i), I have the following line:
read file=mcnp_template
In WATTS, I configure the plugin like this:
mcnp_plugin = watts.PluginMCNP(
'main.i',
extra_template_inputs=['mcnp_template'],
extra_inputs=[
'tally.i',
'physics.i',
],
executable=exec_mcnp,
show_stdout=True,
show_stderr=True
)
However, I’m encountering an issue — the templated file appears to be missing during execution. The error message is:
Expire parameter is
nonexistent file: mcnp_template
Could you please advise how to correctly include and reference templated input files in this case?
Thank you!
Best regards,
Nataliia
The text was updated successfully, but these errors were encountered:
@zaknatnt This was fixed in #109 so we just need to put out a new release that includes that fix. I'll try to get to that today and then once you update your watts package, you should be able to run without issue.
@zaknatnt we've just published a new release of watts on PyPI. Please upgrade your installation (pip install -U watts) and your issue with the extra template should be fixed 🤞 Let us know if you encounter any further problems!
Hello,
I’m trying to use the WATTS MCNP plugin, where I add an extra templated input file to the main input.
Inside the main MCNP input (main.i), I have the following line:
read file=mcnp_template
In WATTS, I configure the plugin like this:
mcnp_plugin = watts.PluginMCNP(
'main.i',
extra_template_inputs=['mcnp_template'],
extra_inputs=[
'tally.i',
'physics.i',
],
executable=exec_mcnp,
show_stdout=True,
show_stderr=True
)
However, I’m encountering an issue — the templated file appears to be missing during execution. The error message is:
Expire parameter is
nonexistent file: mcnp_template
Could you please advise how to correctly include and reference templated input files in this case?
Thank you!
Best regards,
Nataliia
The text was updated successfully, but these errors were encountered: