aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/image-seedee.c14
-rw-r--r--libcrystfel/src/reflist-utils.c4
2 files changed, 16 insertions, 2 deletions
diff --git a/libcrystfel/src/image-seedee.c b/libcrystfel/src/image-seedee.c
index b4ae5179..2a4328ec 100644
--- a/libcrystfel/src/image-seedee.c
+++ b/libcrystfel/src/image-seedee.c
@@ -98,6 +98,20 @@ static int load_seedee_data(struct panel_template *p,
}
}
+ } else if ( (array->datatype == 'i')
+ && (array->itemsize == 4)
+ && (array->byteorder == '<') )
+ {
+ int fs, ss;
+ int32_t *in_data = (int32_t *)array->data;
+
+ for ( ss=0; ss<PANEL_HEIGHT(p); ss++ ) {
+ for ( fs=0; fs<PANEL_WIDTH(p); fs++ ) {
+ size_t idx = fs+p->orig_min_fs + (ss+p->orig_min_ss)*data_size_fs;
+ data[fs+ss*PANEL_WIDTH(p)] = in_data[idx];
+ }
+ }
+
} else if ( (array->datatype == 'f')
&& (array->itemsize == 8)
&& (array->byteorder == '<') )
diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c
index be29736a..f2229541 100644
--- a/libcrystfel/src/reflist-utils.c
+++ b/libcrystfel/src/reflist-utils.c
@@ -745,9 +745,9 @@ struct point_group_conversion pg_conversions[] = {
{'P', "2_uac", 0, 0, "P112"},
{'P', "m_uac", 0, 0, "P11m"},
{'P', "2/m_uac", 1, 0, "P112"},
- {'P', "2", 0, 0, "P121"}, /* unique axis c */
+ {'P', "2", 0, 0, "P112"}, /* unique axis c */
{'P', "m", 0, 0, "P11m"}, /* unique axis c */
- {'P', "2/m", 1, 0, "P121"}, /* unique axis c */
+ {'P', "2/m", 1, 0, "P112"}, /* unique axis c */
{'A', "2_uab", 0, 0, "A121"},
{'A', "m_uab", 0, 0, "A1m1"},