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

Defocus value of zero cant be float #69

Open
ercius opened this issue Aug 29, 2019 · 1 comment
Open

Defocus value of zero cant be float #69

ercius opened this issue Aug 29, 2019 · 1 comment
Assignees

Comments

@ercius
Copy link

ercius commented Aug 29, 2019

Prismatic 1.2 (and 1.0) throws an error if you use a probe-defocus of 0.0 (a float) rather than 0 (integer). All other defocus values work as floats. Zero is a special case.

The line in the parameter file which does not work:
--probe-defocus:0.0

The line in the parameter file which does :
--probe-defocus:0

Here is the error given:
Parsing parameter file params.txt Invalid value "0.0" provided for -df (syntax is -df defocus_value (in Angstroms)

@alex-rakowski
Copy link
Collaborator

Still an issue, c.f. parsers script parseInput.cpp. line 1049,
only checking for "0", not checking for "0.0" or "0.00" etc., try creating a standard representation
Probably an issue for all statements where != "0", when 0 is a valid issue. e.g. CS

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