From 4ede1c30e188a4734707561350b7c9f074063a92 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 8 Jan 2016 17:21:52 +0100 Subject: ambigator: Don't require -y The manual says that -y 1 is the default. --- src/ambigator.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ambigator.c b/src/ambigator.c index 906d5ad3..659b17dc 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -3,12 +3,12 @@ * * Resolve indexing ambiguities * - * Copyright © 2014-2015 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2014-2016 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * Copyright © 2014 Wolfgang Brehm * * Authors: - * 2014-2015 Thomas White + * 2014-2016 Thomas White * 2014 Wolfgang Brehm * * This file is part of CrystFEL. @@ -1097,8 +1097,7 @@ int main(int argc, char *argv[]) } if ( s_sym_str == NULL ) { - ERROR("You must specify the input symmetry (with -y)\n"); - return 1; + s_sym_str = strdup("1"); } s_sym = get_pointgroup(s_sym_str); if ( s_sym == NULL ) return 1; -- cgit v1.2.3