Skip to content

Commit

Permalink
Merge pull request #415 from jeromekelleher/minor-fixups-to-run-inger
Browse files Browse the repository at this point in the history
Filter out imprecise dates
  • Loading branch information
jeromekelleher authored Nov 29, 2024
2 parents 088b3a7 + ef2e7ed commit d279e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sc2ts/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def list_dates(dataset, counts, after, before, verbose):
# so let's not worry about it.
counter = collections.Counter(ds.root["sample_date"][:])
for k in counter:
if after <= k < before:
if after <= k < before and len(k) == 10:
if counts:
print(k, counter[k], sep="\t")
else:
Expand Down

0 comments on commit d279e60

Please sign in to comment.