ro-crate-py icon indicating copy to clipboard operation
ro-crate-py copied to clipboard

Python library for RO-Crate

Results 13 ro-crate-py issues
Sort by recently updated
recently updated
newest added

Unless I misunderstand this library can only read crates from disk. It would be very useful to be able to instantiate the library with an object (that would serialise in...

According to the "Main Workflow Diagram" section in https://about.workflowhub.eu/Workflow-RO-Crate/ the workflow diagram should have types `["File", "ImageObject"]`, however using `add_file()` automatically assigns only type `File`. Is there a way how...

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...

Hi! I am creating the [Autosubmit RO-Crate](https://earth.bsc.es/gitlab/es/autosubmit/-/merge_requests/317) using `ro-crate-py`, using COMPSs as reference. It calls `add_workflow`, `add(Person)`, and other functions that appear in the `ro-crate-py` `README`. However, inspecting the JSON...

```python from rocrate.rocrate import ROCrate from rocrate.model.person import Person crate = ROCrate() john = crate.add(Person(crate, "#johndoe")) jane = crate.add(Person(crate, "#janedoe")) crate.root_dataset["author"] = [john, jane, john] crate.root_dataset.properties() ``` ```python {'@id': './',...

Tough RO-Crate's philosophy is to impose few strict requirements, and rely on examples and best practices for details, a certain degree of validation can be performed. We could add an...

enhancement

(Requested duplicate to https://github.com/ResearchObject/ro-crate/issues/217) As an academic distributing software, I've just found myself making a conda environment (instead of a pip requirements.txt file). I'd like to be able to conda...

[An error message in pick_type](https://github.com/ResearchObject/ro-crate-py/blob/1a45d86711ad67e1b8751c98e2341c20fde091dd/rocrate/rocrate.py#L55) assumes that the entity has an `@id`, but [we pop it before calling the function](https://github.com/ResearchObject/ro-crate-py/blob/1a45d86711ad67e1b8751c98e2341c20fde091dd/rocrate/rocrate.py#L158). If possible, we should probably change callers so they don't...

bug

Draft implementation for exporting a galaxy workflow-run to an ro-crate, including the extraction of provenance from the galaxy workflow-run metadata.

#53 added initial support for [context extensions](https://simleo.github.io/ro-crate/1.1/appendix/jsonld.html#extending-ro-crate), but this is currently limited to updating the context with [testing namespace terms](https://github.com/ResearchObject/ro-terms/tree/master/test) when a testing-related entity is added to a crate via...

enhancement