Inconsistent number of rotation angles and image keys
tomoscan 0.6.0a1
generates the following error for some datasets:
ValueError: `rotation_angle` and `image_key` have incoherent size (68691 vs 25000). Unable to deduce frame properties
The NX file was created with nxtomomill 0.6.0-alpha9
(and ID15 plugin).
One example "problematic dataset": /data/id15/inhouse4/ihma109/id15/ACL9011001b/ACL9011001b_0003/ACL9011001b_0003.h5
:
- dataset has 25000 frames (
instrument/pilatus
) -
hry_trig
has 68691 values (used for rotation angles sincefscan_parameters/scan_type
is"aeroystepscan"
). This contrasts with other datasets (like for exampleACL9011001b_0002.h5
)
Edited by Pierre Paleo