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

modules_json create() adds subworkflows #2005

Merged
merged 10 commits into from
Nov 8, 2022

Conversation

mirpedrol
Copy link
Member

@mirpedrol mirpedrol commented Nov 7, 2022

Function create() from modules_json.py adds also subworkflows to modules.json file.
Merge #1999 first

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@codecov
Copy link

codecov bot commented Nov 8, 2022

Codecov Report

❗ No coverage uploaded for pull request base (dev@5438600). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head ee7a679 differs from pull request most recent head 8363ce1. Consider uploading reports for the commit 8363ce1 to get more accurate results

@@          Coverage Diff           @@
##             dev    #2005   +/-   ##
======================================
  Coverage       ?   63.11%           
======================================
  Files          ?       43           
  Lines          ?     4945           
  Branches       ?        0           
======================================
  Hits           ?     3121           
  Misses         ?     1824           
  Partials       ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mirpedrol mirpedrol marked this pull request as ready for review November 8, 2022 10:35
nf_core/modules/modules_json.py Outdated Show resolved Hide resolved
@@ -60,6 +60,7 @@ def test_mod_json_create(self):
# Get the contents of the file
mod_json_obj = ModulesJson(self.pipeline_dir)
mod_json = mod_json_obj.get_modules_json()
print(mod_json)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that print statement still needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, sorry :)

Suggested change
print(mod_json)

mirpedrol and others added 2 commits November 8, 2022 16:47
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
@mirpedrol mirpedrol merged commit c790f55 into nf-core:dev Nov 8, 2022
@mirpedrol mirpedrol deleted the modules-json-create branch November 8, 2022 15:58
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

Successfully merging this pull request may close these issues.

2 participants