-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add Pubmed data source main table #31
Add Pubmed data source main table #31
Conversation
Thank you for your contribution! I think it addresses two topics: PubMed data source and progress bar. In order to help me review it, please do the following.
|
cdf3f57
to
88a19b0
Compare
The progress bar has been removed from this branch and will have it's own PR, it will also have a setting to disable it and work correctly with the debug option and Python API invocation. Furthermore the commits have been squashed into 1 commit, for future commit I'll take into account that the messages should start with a capital. |
88a19b0
to
3242b23
Compare
e987104
to
c0c9a8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thank you! I assume another PR will add detail tables?
"doi", | ||
getter_by_attribute( | ||
"IdType", "doi", "PubmedData/ArticleIdList/ArticleId" | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normalize this to lowercase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I wasn't clear enough. I am suggesting that you normalize the obtained DOI into lowercase to match the normalization done in other parts of a3k.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aaah I see, I'll look at the implementation for CrossRef and see what can be reused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The doi has been changed to lowercase
51cfb65
to
7ab8db0
Compare
test new pubmed datasource test new xml method avoid code duplication by generic datafiles class remove unused imports move constant out of class create variable to avoid code duplicaiton small pubmed cleanup improve how progress bar looks remove crossref references from pubmed tests run pre-commit on xml test file Remove progress bar from datasource.py Remove progress bar from datasource.py Add default source constant back Add default source constant back Add own name as author for Pubmed Lowercase DOI like in Crossref
7ab8db0
to
05c9bc0
Compare
Great, well done! |
.DS_Store
files and this caused the loading to fail.