ResearchObject / ro-crate-py

Python library for RO-Crate
https://pypi.org/project/rocrate/
Apache License 2.0
46 stars 23 forks source link

Support tar.gz or other archive formats? #164

Open kinow opened 11 months ago

kinow commented 11 months ago

Hi,

Reading the RO-Crate specification, it mentions ZIP in several places. But on this page, https://www.researchobject.org/ro-crate/1.1/appendix/relative-uris.html#establishing-a-base-uri-inside-a-zip-file, we have

An RO-Crate may have been packaged as a ZIP file or similar archive. RO-Crates may exist in a temporary file path which should not determine its identifiers.

In Autosubmit tar.gz is used for archiving files, and another Autosubmit developer that was reviewing my RO-Crate merge request asked why I used ZIP and not TAR.GZ.

Is there a reason for supporting only ZIP (I believe TAR.GZ is not used, or at least I couldn't find tarfile being used) in RO-Crate and ro-crate-py?

Cheers

simleo commented 11 months ago

I think this is due to the fact that zip is the format supported by WorkflowHub (.crate.zip files).