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
Tested on ppafm/cli/generateElFF.py. If the tip multipole, eg.g. "dz2", is supplied by the line tip "dz2" in the params.ini file rather than by the --tip "dz2" command line option, it gets being ignored and the default "s" shape (monopole) will be used instead.
This seems to be because a parameter read from params.ini will later be overwritten by a command-line argument of the same name, even if the command-line argument is not explicitly specified at all but only set by default. Therefore, the same behavior can be expected for any parameter in params.ini that has a counterpart in a command line argument.
The text was updated successfully, but these errors were encountered:
@mondracek I didn't see this before, but it looks like a rather serious issue. Remember to put the labels and assign the project on the right side, so that we can remember to look at the issue at the meetings and properly prioritize them.
Tested on
ppafm/cli/generateElFF.py
. If the tip multipole, eg.g. "dz2", is supplied by the linetip "dz2"
in theparams.ini
file rather than by the--tip "dz2"
command line option, it gets being ignored and the default "s" shape (monopole) will be used instead.This seems to be because a parameter read from
params.ini
will later be overwritten by a command-line argument of the same name, even if the command-line argument is not explicitly specified at all but only set by default. Therefore, the same behavior can be expected for any parameter inparams.ini
that has a counterpart in a command line argument.The text was updated successfully, but these errors were encountered: