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
If one runs a validphys script (for instance vp-comparefits) in a folder where there is already a report.md file. This report.md will take precedence over the one define in the script.
Not sure whether this is something that should be fixed in reportengine or in validphys.
The text was updated successfully, but these errors were encountered:
I think in the case of a script the templates defined in the script should take precedence. There's no reason I should know the names used in the script to avoid them in the folder which I'm running from.
I would've expect a crash or at least a warning if there's an ambiguity, no silently getting the wrong result. In any case I'll transfer the issue to the RE repository then.
Comparefits is a bit of a special case in that the filename is harcoded in the script. In the flow it was designed for, the filename is supposed to be relative to the current path. If you were writing a vp runcard and the template was randomly pulled from elsewhere that would be confusing. So I guess some other mechanism would be needed.
If one runs a validphys script (for instance
vp-comparefits
) in a folder where there is already areport.md
file. Thisreport.md
will take precedence over the one define in the script.Not sure whether this is something that should be fixed in
reportengine
or invalidphys
.The text was updated successfully, but these errors were encountered: