Skip to content

curate format-dates: support date ranges #2000

Description

@joverlee521

Context

NCBI Datasets has started returning date ranges in the format of [2001 TO 2002], which has caused errors in the ingest workflow during augur curate format-dates (norovirus, rabies, seasonal-cov).

Related to #1494, but different in that this needs to support parsing an existing date range format rather than apply a date range to a field.

Description

curate format-dates should be able to convert the date range to the Augur supported date range format YYYY-MM-DD/YYYY-MM-DD.

[2001 TO 2002] -> 2001-XX-XX/2002-XX-XX 2001-01-01/2002-12-31

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions