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
As discussed with @willend, I just noticed the following a bit unfortunate issue, which I encountered while trying to put an NCrystal cfg-string with semicolons into a string parameter of mcrun:
This was noticed in the context of a jupyter notebook, where I was trying to:
!mcrun sample_cfg={shlex.quote(mycfgstr)}
The initial theory from @willend is that this is related to moving the arguments through BASH (certainly sounds like something BASH would do!), and that we need to double-check arguments passed via mcgui as well.
The text was updated successfully, but these errors were encountered:
As discussed with @willend, I just noticed the following a bit unfortunate issue, which I encountered while trying to put an NCrystal cfg-string with semicolons into a string parameter of mcrun:
It actually results in
sample_cfg="Al_sg225.ncmat"
and not the expectedsample_cfg="Al_sg225.ncmat;density=10x"
.It works with a backslash in front of the semicolon:
This was noticed in the context of a jupyter notebook, where I was trying to:
The initial theory from @willend is that this is related to moving the arguments through BASH (certainly sounds like something BASH would do!), and that we need to double-check arguments passed via mcgui as well.
The text was updated successfully, but these errors were encountered: