Updated load_1D.py #63
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "JakHolzer-edited-load_1D-vol2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: JakHolzer
Try, except deleted.
Added one if/elif loop to tell apart zebra mode (bi, nb) and different angles saved
Created by: ivan-usov
@JakHolzer , how about to use
is_integer()
(https://docs.python.org/3/library/stdtypes.html#float.is_integer) instead? I don't think that complicated logic withDecimal
is needed.Created by: ivan-usov
Reading 'dat' files breaks at this line.
Created by: ivan-usov
Review: Changes requested
I left a few comments, but not sure they didn't result in a review.
Created by: ivan-usov
Review: Approved
Merged by: ivan-usov at 2020-09-15 12:25:25 UTC
Created by: JakHolzer
The reason is that the hkl are in ccl in float format even for hkl, they
are for example -1.000 1.000 0.000, therefore they will be evaluated as
floats, not integer if I'm not mistaken. The decimal checks if there are
some numbers except zeros after decimal points which is only way how to
separate hkl from real indices.
pá 11. 9. 2020 v 14:07 odesílatel Ivan Usov notifications@github.com
napsal: