diff options
-rwxr-xr-x | scripts/stream_grep | 2 | ||||
-rw-r--r-- | src/powder_plot.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/stream_grep b/scripts/stream_grep index d02b6348..63c44218 100755 --- a/scripts/stream_grep +++ b/scripts/stream_grep @@ -88,7 +88,7 @@ if (defined $lt) { $tag_type = 1; $tag_value = $lt; $N_tag_types++; -} +} if (defined $le) { $tag_type = 2; $tag_value = $le; diff --git a/src/powder_plot.c b/src/powder_plot.c index a57c184d..736a9b99 100644 --- a/src/powder_plot.c +++ b/src/powder_plot.c @@ -887,7 +887,7 @@ int main(int argc, char *argv[]) if ( is_stream(filename) == 1 ) { file_type = FILE_STREAM; - + } else if ( H5Fis_hdf5(filename) > 0 ) { file_type = FILE_H5; @@ -980,7 +980,7 @@ int main(int argc, char *argv[]) } free(geometry); - /* Open files to get wavelength if it exists & camera length + /* Open files to get wavelength if it exists & camera length if they are not found in the geometry file */ if (file_type == FILE_STREAM) { fh = fopen(filename, "r"); |