Skip to content

test-cnm: Fix dataversion detection - #80

Draft
reweeden wants to merge 2 commits into
mainfrom
rew/tcnm-dataversion-fix
Draft

reweeden wants to merge 2 commits into
mainfrom
rew/tcnm-dataversion-fix

Conversation

@reweeden

@reweeden reweeden commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

This is needed for the SMAP dataversions which come in like 003.

Pull Request Checklist

I have:

  • performed a self review of my code I&A code style
    • Resources and Data Structures are sorted by ABC or a defined sorting pattern
  • updated the documentation accordingly
  • verified required action checks are passing
  • bumped the version number as appropriate

log = logging.getLogger(__name__)

DATA_VERSION_PATTERN = re.compile(r"^\d+\.\d+|\d$")
DATA_VERSION_PATTERN = re.compile(r"^\d+\.\d+|\d+$")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant