Open
Conversation
3.2.1 Release Candidiate
3.2.2 Release Candidiate
Author
|
Hi @chris-cheshire, Can you kindly advise on what to do about the failed automatic checks? The check that fails (linting) is not caused by a modification that I made. It complains about a missing file, which I did not remove. I tried moving the file to the expected position (from Many thanks in advance for your advice, |
Author
|
I noticed two more problems with the blacklist, which I have fixed in the latest commits.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two parameters
params.gene_bedandparams.blacklistare set tonullinnextflow.config(see here). Since parameters can only be set once and all subsequent value assignments are ignored, the null values can only be overwritten by the user by means of passing--gene_bedand--blacklistas arguments to thenextflow runcommand. Usually, these parameters are defined in theigenomes.configfile (see here). The values in this config file are effectively ignored, however, because the initialization innextflow.configtakes precedence. These two lines in the filemain.nfshould load the values fromigenomes.config, but they have no effect.This PR removes the initialization of
gene_bedandblacklistfromnextflow.config. This way, the parameters are taken fromigenomes.configby default or - if specified - from parameters passed as arguments on the command-line.It looks like the initialization in
nextflow.configis not needed for anything really. I believe the only reason why they are there is because they are used inmodules.config(here and here). These uses serve no purpose, however. They decide if a bunch ofpublishDirattributes shall be set or not. But there is no harm in setting these attributes when no blacklist is used. So we might as well remove the uses of the variables, enabling us to remove the initialization fromnextflow.config, too.