Closed mariellemanlulu closed 3 years ago
Added optional arguments: --fromDate and --toDate
--fromDate
--toDate
validates the date upfront before
fromDate
toDate
For example:
irida-staramr-results -p 1 --fromDate 2021-01-04 --toDate 2021-03-18 -u irida-user -pw pasword1 -o out.xlsx
This will export results from project 1, only exporting those results from analysis ran between January 4, 2021 and March 18, 2020, inclusive.
Added logging warning message if no analysis to be downloaded. No directory and files are created.
WARNING:root:No completed amr analysis submission created from [2021-04-06] to [2021-04-07]. Exiting..
Added time conversions functions
More unit tests
Summary of changes
Added optional arguments:
--fromDate
and--toDate
validates the date upfront before
fromDate
andtoDate
are 0 (unix epoch) and current unix timestamp, respectively.For example:
This will export results from project 1, only exporting those results from analysis ran between January 4, 2021 and March 18, 2020, inclusive.
Added logging warning message if no analysis to be downloaded. No directory and files are created.
Added time conversions functions
More unit tests