8000 Issue with extra_template_inputs in WATTS MCNP plugin · Issue #116 · watts-dev/watts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Issue with extra_template_inputs in WATTS MCNP plugin #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

< 8000 div class="d-flex flex-items-center"> Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zaknatnt opened this issue Apr 14, 2025 · 3 comments
Open

Issue with extra_template_inputs in WATTS MCNP plugin #116

zaknatnt opened this issue Apr 14, 2025 · 3 comments

Comments

@zaknatnt
Copy link

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

@paulromano
Copy link
Contributor

@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
Copy link
Author

Dear Paul,
Thanks a lot for this fix, and your fast reply!

Best regards,
Nataliia

@paulromano
Copy link
Contributor

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0