diff options
author | Thomas White <taw@physics.org> | 2016-01-08 17:21:52 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-01-08 17:21:52 +0100 |
commit | 4ede1c30e188a4734707561350b7c9f074063a92 (patch) | |
tree | 0af8158e1195d1b25b34ec697196ffaa1789b53e | |
parent | ba5f9d76fec43034273d8b9c37a7252178b89b00 (diff) |
ambigator: Don't require -y
The manual says that -y 1 is the default.
-rw-r--r-- | src/ambigator.c | 7 |
1 files 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 <taw@physics.org> + * 2014-2016 Thomas White <taw@physics.org> * 2014 Wolfgang Brehm <wolfgang.brehm@gmail.com> * * 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; |