Skip to content

null values in the WRROC metadata #49

Description

@simleo
  • I built and installed the plugin with make install

  • I updated nextflow to version 25.04.6

  • I added workflow.output.mode = 'copy' to nextflow.config at the top level (so that the RO-Crate gets a copy of the files rather than symlinks)

  • I ran:

$ nextflow run nf-prov-test/ -plugins nf-prov@1.5.0

 N E X T F L O W   ~  version 25.04.6

Launching `nf-prov-test/main.nf` [prickly_cantor] DSL2 - revision: a16de98cd6

WARN: WORKFLOW OUTPUT DEFINITION IS A PREVIEW FEATURE - SYNTAX AND FUNCTIONALITY CAN CHANGE IN FUTURE RELEASES
executor >  local (7)
[20/8b0b9a] ECHO_SCRIPT (r1) [100%] 3 of 3 ✔
[33/6d7f4f] ECHO_EXEC (r3)   [100%] 3 of 3 ✔
[dc/fd4755] WC_SAMPLE (1)    [100%] 1 of 1 ✔
Staging foreign file: https://openstack.cebitec.uni-bielefeld.de:8080/swift/v1/denbi-mg-course/read1.fq.gz
Staging foreign file: https://openstack.cebitec.uni-bielefeld.de:8080/swift/v1/denbi-mg-course/read2.fq.gz
WARN: Could not determine pipeline repository URL for Workflow Run RO-Crate -- launch the pipeline with canonical URL (e.g. `nextflow run nextflow-io/hello`) to ensure that the pipeline repository URL is recorded in the crate
WARN: Could not identify process definition for `ECHO_SCRIPT` -- resulting RO-Crate may be invalid (hint: define each process in a separate module script to fix this issue)
WARN: Could not identify process definition for `WC_SAMPLE` -- resulting RO-Crate may be invalid (hint: define each process in a separate module script to fix this issue)

In results/ro-crate-metadata.json, some CreateActions have an instrument pointing to null (instead of pointing to the relevant SoftwareApplication); similarly, some HowToSteps have a null workExample. Due to this, the crate is invalid. This can be checked using the validator:

rocrate-validator -y validate -l REQUIRED -p provenance-run-crate -v -w 79 -o err.txt ~/repos/nf-prov/results

Also, there is no trace of the executions of ECHO_EXEC. I'm attaching the ro-crate-metadata.json file.

ro-crate-metadata.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions