Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract collection date without time #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ha-nn-ah
Copy link

@Ha-nn-ah Ha-nn-ah commented Oct 9, 2023

Modified 'collection_date' handling to accommodate (two) time formats; otherwise, there occurs an error in step 4. This update ensures panX processes 'collection_date' correctly by ignoring time and proceeds solely with the date.

ignore time (two different formats) in "collection_date" and only proceed with the date
@fbaumdicker
Copy link
Contributor

@Ha-nn-ah recently did a panX analysis of all reference strains from NCBI. For some reference strains, the collection date format includes not only a day, but also a time. Day and time are split by the letter "T" which confused panX as it assumed that any character string in the collection date corresponds to a month. This should fix this.

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.

2 participants