aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-20 10:23:29 +0100
committerThomas White <taw@physics.org>2019-03-20 10:23:29 +0100
commit26524f58f747ba04e91cf12ac390bd737652489a (patch)
treec8196a6d1714bc537900d652d95d2b2cc0768f48 /src/get_hkl.c
parent14b1a499ee25b1e9bf9dec0483cd547723556d83 (diff)
parenta527e38ccc907a64420a2bd73245a0512c8baa87 (diff)
Merge branch 'tom/transformations'
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index efd06c94..2a17aab5 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -580,6 +580,10 @@ int main(int argc, char *argv[])
if ( reindex_str != NULL ) {
reindex = parse_symmetry_operations(reindex_str);
if ( reindex == NULL ) return 1;
+ if ( num_equivs(reindex, NULL) != 1 ) {
+ ERROR("Please provide only ONE reindexing operation\n");
+ return 1;
+ }
set_symmetry_name(reindex, "Reindex");
}