aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-04-20 12:23:25 +0200
committerThomas White <taw@physics.org>2023-04-20 12:29:43 +0200
commit15e72336f9763bfa2dce4d9aa0f8dcb518b51ac1 (patch)
treef8d039ad56773a53e622ebf7d0881017a0059f4c /src
parent8c83c0634aca05182d6814f722abc184e40d89ff (diff)
compare_hkl: Recognise --fom=cc*, cc1/2 and cchalf
Diffstat (limited to 'src')
-rw-r--r--src/compare_hkl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index f3f174d8..7b3aeb64 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -88,7 +88,10 @@ static enum fom_type fom_type_from_string(const char *s)
if ( strcasecmp(s, "r2") == 0 ) return FOM_R2;
if ( strcasecmp(s, "rsplit") == 0 ) return FOM_RSPLIT;
if ( strcasecmp(s, "cc") == 0 ) return FOM_CC;
+ if ( strcasecmp(s, "cc1/2") == 0 ) return FOM_CC;
+ if ( strcasecmp(s, "cchalf") == 0 ) return FOM_CC;
if ( strcasecmp(s, "ccstar") == 0 ) return FOM_CCSTAR;
+ if ( strcasecmp(s, "cc*") == 0 ) return FOM_CCSTAR;
if ( strcasecmp(s, "ccano") == 0 ) return FOM_CCANO;
if ( strcasecmp(s, "crdano") == 0 ) return FOM_CRDANO;
if ( strcasecmp(s, "rano") == 0 ) return FOM_RANO;