Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Menden <kevin.menden@live.com>
  • Loading branch information
ErikDanielsson and KevinMenden committed Jul 2, 2021
1 parent 191eb5c commit 3d8b6af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ INFO Installing cat/fastq
INFO Downloaded 3 files to ./modules/nf-core/software/cat/fastq
```

You can pass the module name as a optional argument to `nf-core modules install` instead of using the cli prompt, eg: `nf-core modules install fastqc`.
You can pass the module name as an optional argument to `nf-core modules install` instead of using the cli prompt, eg: `nf-core modules install fastqc`.

There are four flags that you can use with this command:

Expand Down Expand Up @@ -972,7 +972,7 @@ INFO Removing star/align
INFO Successfully removed star/align module
```

You can pass the module name as a optional argument to `nf-core modules install` instead of using the cli prompt, eg: `nf-core modules remove fastqc`. To specify the pipeline directory, use `--dir <pipeline_dir>`.
You can pass the module name as an optional argument to `nf-core modules install` instead of using the cli prompt, eg: `nf-core modules remove fastqc`. To specify the pipeline directory, use `--dir <pipeline_dir>`.

### Create a new module

Expand Down
4 changes: 2 additions & 2 deletions nf_core/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def bump_version(new_version, dir, nextflow):
As well as the pipeline version, you can also change the required version of Nextflow.
"""
try:
# Check if pipeline directory contain necessary files
# Check if pipeline directory contains necessary files
nf_core.utils.is_pipeline_directory(dir)

# Make a pipeline object and load config etc
Expand Down Expand Up @@ -698,7 +698,7 @@ def sync(dir, from_branch, pull_request, repository, username):
the pipeline. It is run automatically for all pipelines when ever a
new release of nf-core/tools (and the included template) is made.
"""
# Check if pipeline directory contain necessary files
# Check if pipeline directory contains necessary files
try:
nf_core.utils.is_pipeline_directory(dir)
except UserWarning:
Expand Down

0 comments on commit 3d8b6af

Please sign in to comment.