phac-nml / irida-staramr-results

Enables StarAMR analysis results that were run through IRIDA to be downloaded into a spreadsheet using the command line.
Apache License 2.0
3 stars 1 forks source link

Filter analysis that get output by date #19

Closed JeffreyThiessen closed 3 years ago

JeffreyThiessen commented 3 years ago

The program should accept an optional requirement for the cutoff date to download. The program should only download and output analysis that ran on or after the date specified.

This feature is dependant on #18 as it is assumed that we may be downloading/outputting multiple files.

mariellemanlulu commented 3 years ago

Formatting of arguments: -d, --date, YYYY-mm-dd For example:

irida-staramr-results -p 1 -d 2021-01-04 -u irida-user -o out.xlsx

This will export results from project 1, only exporting those results from analysis ran since January 4, 2021.

mariellemanlulu commented 3 years ago

Requirement update

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.