Skip to content

Commit

Permalink
NF schema is built only if it's missing
Browse files Browse the repository at this point in the history
Use wrabbit 0.2.0
  • Loading branch information
pavlemarinkovic committed Jun 24, 2024
1 parent 45a1689 commit 80774ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ruamel.yaml >= 0.16
sevenbridges-python >= 2.0
nf-core==2.1
wrabbit==0.1.3
wrabbit==0.2.0
cwlformat
packaging
4 changes: 3 additions & 1 deletion sbpack/noncwl/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def validate_sheet(
continue
else:
basename = os.path.basename(path)
if not basename:
continue
parent = None
if os.path.dirname(path):
parent = checked[os.path.dirname(path)]
Expand Down Expand Up @@ -239,7 +241,7 @@ def main():
help="Name of the output file.",
)
parser.add_argument(
"--upload", '-u', action='store_true', required=False,
"--upload", action='store_true', required=False,
help="Upload the file to the project after making it.",
)
parser.add_argument(
Expand Down
2 changes: 2 additions & 0 deletions sbpack/noncwl/nextflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ def main():
# Do this only if the nextflow_schema.json is missing
if not nf_wrapper.nf_schema_path:
nf_wrapper.nf_schema_build()
# update the nextflow_schema.json location
nf_wrapper.init_config_files()

# Create app
nf_wrapper.generate_sb_app(
Expand Down
2 changes: 1 addition & 1 deletion sbpack/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2024.6.3rc1"
__version__ = "2024.6.24rc1"

0 comments on commit 80774ee

Please sign in to comment.