Skip to content
Snippets Groups Projects
Commit b4aa5046 authored by Nick Bearson's avatar Nick Bearson
Browse files

readability

parent 324ac5d8
No related branches found
No related tags found
1 merge request!26group inputs by minute and process accordingly
......@@ -330,9 +330,13 @@ if __name__ == '__main__':
if len(fileglob) != 3:
log.error("There are not (yet) three GLM files from this minute. This may be expected. Exiting.")
exit(0)
# this allows a user to use realtime mode to process a large directory of GLM without
# creating the same output file multiple times
if sorted(fileglob)[-1] != args.filenames[0]:
log.error("This is not the last file from this minute. Exiting.")
exit(0)
args.filenames = fileglob
# check that all of our inputs exist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment