diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-05-04 06:52:25 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-05-04 06:52:25 -0700 |
commit | 7a244aaae609940ec1800459472a1be620cc7853 (patch) | |
tree | e17fd460be5c4bbbf0d2b33a1cea387b53eae32e | |
parent | e3501a93626954a499b1a38e33011d36fb11129b (diff) |
process_hkl: Handle old and new input formats
-rw-r--r-- | src/process_hkl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index 08dba4ac..e76835a0 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -353,7 +353,8 @@ int main(int argc, char *argv[]) int r; rval = fgets(line, 1023, fh); - if ( strncmp(line, "Reflections from indexing", 25) == 0 ) { + if ( (strncmp(line, "Reflections from indexing", 25) == 0) + || (strncmp(line, "New pattern", 11) == 0) ) { /* Start of first pattern? */ if ( n_patterns == 0 ) { |