datalad-neuroimaging icon indicating copy to clipboard operation
datalad-neuroimaging copied to clipboard

Add GIN datacite-file generation from BIDS dataset_description.json

Open christian-monch opened this issue 3 years ago • 6 comments

This PR add a new command:

bids2gindatacite

to datalad. This command will process the content of the top-level (w.r.t. to a dataset) "dataset_description.json"-file and create a file named "datacite.yml". This file is expected by GIN in order to request a DOI for a dataset on GIN.

Due to the nature of dataset_description.json, not all required fields in "datacite.yml" can be filled automatically. Where no information is available, the command will add an example-section in "datacite.yml", which contains an example and instructions on how to provide the missing data.

This is an early PR due to the hackathon time pressure-feeling. It still needs:

  • [ ] unit tests
  • [ ] refactoring

christian-monch avatar Apr 28 '21 11:04 christian-monch

Just stumbled over this again - its cool functionality to have!

adswa avatar Oct 21 '21 09:10 adswa

@christian-monch did you still have changes to add to this PR? Can you remember what level of refactoring was necessary?

jsheunis avatar Feb 07 '22 22:02 jsheunis

@jsheunis: will take a look shortly

christian-monch avatar Feb 23 '22 21:02 christian-monch

Can we put this in draft mode, please?

mih avatar Feb 24 '22 07:02 mih

I am putting this PR in draft mode.

mih avatar Mar 02 '22 11:03 mih

Did not realize this was in progress. 🤦🏾

So I created a package that sort of does the same thing... https://github.com/Remi-Gau/bids2cite

Remi-Gau avatar Oct 10 '22 08:10 Remi-Gau