saketkc / pysradb

Package for fetching metadata and downloading data from SRA/ENA/GEO
https://saketkc.github.io/pysradb
BSD 3-Clause "New" or "Revised" License
303 stars 49 forks source link

[BUG] Default date range output #171

Open bernt-matthias opened 1 year ago

bernt-matthias commented 1 year ago

Describe the bug

A command lacking the --publication-date argument like

pysradb search --db sra --query 'cancer' --source 'transcriptomic' --organism 'Homo sapiens' --platform 'illumina'  --max 100 --verbosity 2 --stats --graphs 'daterange selection basecount' --saveto 'output.tsv

Apparently still has a date range set according to the output

  Date range: 
      2023-01:  100

Not sure if its just an output problem (might it be that it should be :2023-01) or if there is a default date range set.

To Reproduce

See above

Desktop (please complete the following information):

Ubuntu 22.04

Additional context