TuftsBCB / medford

Human-readible metadata file format to consolidate research information such that it can be stored, updated, and submitted to databases without introducing a huge time investment overhead.
MIT License
9 stars 5 forks source link

Handle "Repository" style references #2

Open infispiel opened 3 years ago

infispiel commented 3 years ago

Noticed in the pdam cunnings MFD file, sometimes ref sub-major-tags can be pointing to databases. (e.g. ncbi genome resources, github repositories). This doesn't work with the concept of a fetch.txt for a Bag, and will currently crash because there is no valid "filename" for a remote repository. How do we want to handle this?

infispiel commented 3 years ago

Current thoughts:

Add another sub-category of tag: @ Major - Reference @ Major - Reference - Copy

The plain -Reference tags are not copied, only noted. Only tags that are -Reference-Copy are added to the BagIt fetch.txt for downloading.