-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update NIHMS metadata, Adding Grant and Funder to bulk_meta.xml #79
Changes from 34 commits
b3c6343
72d15a9
21b7584
d67069c
6b6573f
a90e231
a3e4080
ab148a3
c02a9a0
7771af8
23ffc13
d571614
f0d6471
9123db4
b1e2591
40dbdee
cbcc853
85fcb7d
1ad3b52
39874de
a70b638
3a0c45f
bc1b17d
6cb893d
5be99d0
6d18160
9b63b14
8000aa2
68a08ba
1d05b45
adc236c
6d28894
1d79d1d
9152306
c5da2e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,44 @@ | |
"algorithms": [ | ||
"sha512", | ||
"md5" | ||
] | ||
], | ||
"funder-mapping": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm thinking we don't want this map here in the src repositories.json since it is specific to JHU. I think it should be removed, which means you will need to create a new test-repositories.json most likely to test your code, but I think it is cleaner to this for the community. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
"johnshopkins.edu:funder:300032": "ahqr", | ||
"johnshopkins.edu:funder:300293": "cdc", | ||
"johnshopkins.edu:funder:300859": "cdc", | ||
"johnshopkins.edu:funder:301459": "va", | ||
"johnshopkins.edu:funder:300453": "epa", | ||
"johnshopkins.edu:funder:303444": "hhmi", | ||
"johnshopkins.edu:funder:300484": "nih", | ||
"johnshopkins.edu:funder:300865": "nih", | ||
"johnshopkins.edu:funder:300869": "nih", | ||
"johnshopkins.edu:funder:300866": "nih", | ||
"johnshopkins.edu:funder:308302": "nih", | ||
"johnshopkins.edu:funder:305950": "nih", | ||
"johnshopkins.edu:funder:302727": "nih", | ||
"johnshopkins.edu:funder:300863": "nih", | ||
"johnshopkins.edu:funder:300874": "nih", | ||
"johnshopkins.edu:funder:300861": "nih", | ||
"johnshopkins.edu:funder:300842": "nih", | ||
"johnshopkins.edu:funder:303587": "nih", | ||
"johnshopkins.edu:funder:303586": "nih", | ||
"johnshopkins.edu:funder:306099": "nih", | ||
"johnshopkins.edu:funder:300858": "nih", | ||
"johnshopkins.edu:funder:301479": "nih", | ||
"johnshopkins.edu:funder:300870": "nih", | ||
"johnshopkins.edu:funder:303589": "nih", | ||
"johnshopkins.edu:funder:300860": "nih", | ||
"johnshopkins.edu:funder:300852": "nih", | ||
"johnshopkins.edu:funder:302822": "nih", | ||
"johnshopkins.edu:funder:302592": "nih", | ||
"johnshopkins.edu:funder:303585": "nih", | ||
"johnshopkins.edu:funder:303574": "nih", | ||
"johnshopkins.edu:funder:300867": "nih", | ||
"johnshopkins.edu:funder:303580": "nih", | ||
"johnshopkins.edu:funder:301978": "nih", | ||
"johnshopkins.edu:funder:305204": "aspr", | ||
"johnshopkins.edu:funder:303395": "fda" | ||
} | ||
} | ||
}, | ||
"transport-config": { | ||
|
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.
This method is already very long. It would be good to pull this new code out into a new method.
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.
I agree
write_metadata
is rather long. I added the grants here because it fit with the rest. I didn't want to touch what was already written, but perhaps I could create a method for each component of the XML file:manuscript
,article
,journal
etc? Something along the lines of: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.
I thought about creating a method just for the grants, but it would seem awkward for only that component to have it's own method?
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.
Yes, your suggestion would be good clean up.
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.
Done.