Closed grhawk closed 7 years ago
Ugh! :( Good catch.
@mahrossi well... I should have seen it before the merge... so it is not a so good catch... :(
In the branch fix_iounit the input is working now with the following rules:
position{angstrom}
and cell{angstrom}
in the comment (title) line.units
is specified in the <file>
node, then it will be applied anyway (this could still result in applying the conversion factor twice but otherwise, we would loose retro-compatibility.) but a warning is printed.xyz
is working fine. pdb
now is working fine: there was an error in the pdb formatio
module
We just found an important bug: after the merge with fastxyz the units conversion in input will be applied based on the keyword in the file containing the positions file AND on the keywork in the
initialize
node of the input xml. For example: if the comment in the file containsposition{angstrom}
and the xml containsi-PI will convert the position of the atoms twice. The output is not guaranteed to be right!