Skip to content

Commit

Permalink
don't create rocrate file when we skip the feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Dec 16, 2024
1 parent 709e67f commit ac703bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipelines/create/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def render_template(self) -> None:
# Make a logo and save it, if it is a nf-core pipeline
self.make_pipeline_logo()

if self.config.skip_features is None or "ro-crate" not in self.config.skip_features:
if self.config.skip_features is None or "rocrate" not in self.config.skip_features:
# Create the RO-Crate metadata file
rocrate_obj = ROCrate(self.outdir)
rocrate_obj.create_rocrate(json_path=self.outdir / "ro-crate-metadata.json")
Expand Down

0 comments on commit ac703bf

Please sign in to comment.