Skip to content
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.

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

The "tip" option in params.ini does not work #256

Open
mondracek opened this issue Jan 25, 2024 · 1 comment
Open

The "tip" option in params.ini does not work #256

mondracek opened this issue Jan 25, 2024 · 1 comment
Assignees
Labels

Comments

@mondracek
Copy link
Collaborator

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.

@NikoOinonen
Copy link
Collaborator

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

@yakutovicha yakutovicha self-assigned this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants