diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-22 01:55:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:50 +0100 |
commit | 48d0b9b12474e2c73411c234ef972a0a4a692e34 (patch) | |
tree | 066a489d7c3f2337ececc755773a7eaa71abff86 /src/process_hkl.c | |
parent | 7c9587d69305edd53487a61cc8f5a26cc1373638 (diff) |
process_hkl: Add symmetry module
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index d5d934c9..32eaa608 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -246,6 +246,7 @@ int main(int argc, char *argv[]) unsigned int *new_counts = NULL; unsigned int n_total_patterns; unsigned int *truecounts = NULL; + char *sym = NULL; char *pdb = NULL; float f0; int f0_valid; @@ -264,12 +265,14 @@ int main(int argc, char *argv[]) {"sum", 0, &config_sum, 1}, {"detwin", 0, &config_detwin, 1}, {"scale", 0, &config_scale, 1}, + {"symmetry", 0, NULL, 'y'}, {"pdb", 1, NULL, 'p'}, {0, 0, NULL, 0} }; /* Short options */ - while ((c = getopt_long(argc, argv, "hi:e:ro:p:", longopts, NULL)) != -1) { + while ((c = getopt_long(argc, argv, "hi:e:ro:p:y:", + longopts, NULL)) != -1) { switch (c) { case 'h' : @@ -305,6 +308,10 @@ int main(int argc, char *argv[]) pdb = strdup(optarg); break; + case 'y' : + sym = strdup(optarg); + break; + case 0 : break; |