Skip to content
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

Error from runcrate convert #53

Open
HrishiDhondge opened this issue Jun 19, 2023 · 2 comments
Open

Error from runcrate convert #53

HrishiDhondge opened this issue Jun 19, 2023 · 2 comments

Comments

@HrishiDhondge
Copy link

I am trying to convert CWLProv to RO crate using runcrate convert. But getting the following error every time I run this command:

File "/usr/lib/python3.10/site-packages/rocrate/rocrate.py", line 122, in __read
    raise ValueError(f"Not a valid RO-Crate: missing {Metadata.BASENAME}")
ValueError: Not a valid RO-Crate: missing ro-crate-metadata.json

I checked it with a workflow and a tool written in CWL. In both cases, I am getting the same error. Did someone try to run it with CWLprov recently?

@simleo
Copy link
Collaborator

simleo commented Jun 20, 2023

Can you provide the command sequence you're using? You should do something like:

cwltool --provenance ro myworkflow.cwl myparams.yml
runcrate convert ro -o ro_crate

@HrishiDhondge
Copy link
Author

I used the same command. This might be also coming from the cwltool. When I run cwltool with --provenance option, I get the following warning:

research_obj set but one of process_run_id or prov_obj is missing from runtimeContext: <cwltool.context.RuntimeContext object at 0x7ff8e3e73dc0>

I have asked about it in the CWL forum as well. The thread can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants