-
Notifications
You must be signed in to change notification settings - Fork 191
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
Remove params.enable_conda #2131
Changes from all commits
433e5b2
547076b
d9be489
4cf1fdc
c83965d
3b2f53d
32bf4aa
0cb35e6
81fc966
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -303,6 +303,12 @@ def test_update_only_show_differences(self, mock_prompt): | |
modules_json = ModulesJson(self.pipeline_dir) | ||
update_obj = ModuleUpdate(self.pipeline_dir, update_all=True, show_diff=True) | ||
|
||
# Update modules to a fixed old SHA | ||
update_old = ModuleUpdate( | ||
self.pipeline_dir, update_all=True, show_diff=False, sha="5e34754d42cd2d5d248ca8673c0a53cdf5624905" | ||
) | ||
update_old.update() | ||
|
||
tmpdir = tempfile.mkdtemp() | ||
shutil.rmtree(tmpdir) | ||
shutil.copytree(Path(self.pipeline_dir, "modules", NF_CORE_MODULES_NAME), tmpdir) | ||
|
@@ -329,6 +335,12 @@ def test_update_only_show_differences_when_patch(self, mock_prompt): | |
modules_json = ModulesJson(self.pipeline_dir) | ||
update_obj = ModuleUpdate(self.pipeline_dir, update_all=True, show_diff=True) | ||
|
||
# Update modules to a fixed old SHA | ||
update_old = ModuleUpdate( | ||
self.pipeline_dir, update_all=True, show_diff=False, sha="5e34754d42cd2d5d248ca8673c0a53cdf5624905" | ||
) | ||
update_old.update() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is your thinking here, that this change will be tested when we look at the modules.json? Should we maybe There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test makes sure that when we want to only show the differences but not update the module, it is not updated. Specially when there is a patch file because there was a bug on that edge case. |
||
|
||
# Modify fastqc module, it will have a patch which will be applied during update | ||
# We modify fastqc because it's one of the modules that can be updated and there's another one before it (custom/dumpsoftwareversions) | ||
module_path = Path(self.pipeline_dir, "modules", "nf-core", "fastqc") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can still use this @mirpedrol