Skip to content

Commit e024be4

Browse files
edmundmillermashehu
andcommitted
Apply suggestions from code review
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
1 parent 062aa8a commit e024be4

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/download_pipeline.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
run: |
4343
echo "REPO_LOWERCASE=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
4444
echo "REPOTITLE_LOWERCASE=$(basename ${GITHUB_REPOSITORY,,})" >> ${GITHUB_ENV}
45-
echo "REPO_BRANCH=${GITHUB_REF#refs/heads/}" >> ${GITHUB_ENV}
45+
46+
echo "{% raw %}REPO_BRANCH=${{ github.event.inputs.testbranch || 'dev' }}" >> ${GITHUB_ENV}
4647
4748
- name: Download the pipeline
4849
env:
@@ -64,4 +65,4 @@ jobs:
6465
env:
6566
NXF_SINGULARITY_CACHEDIR: ./
6667
NXF_SINGULARITY_HOME_MOUNT: true
67-
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results
68+
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results{% endraw %}

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ On release, automated continuous integration tests run the pipeline on a full-si
5858
5959
First, prepare a samplesheet with your input data that looks as follows:
6060
61-
`samplesheet.csv`:
6261
63-
```csv
62+
```csv title="samplesheet.csv
6463
sample,fastq_1,fastq_2
6564
CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz
6665
```

docs/output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ They've also created some bed files that might be useful for analysis.
370370
- `bwa/`: Directory containing bwa indices.
371371
- `bwa-mem2/`: Directory containing bwa-mem2 indices.
372372
- `dragmap/`: Directory containing DRAGMAP indices.
373-
- `bowtie2/`: Directory containing DRAGMAP indices.
373+
- `bowtie2/`: Directory containing bowtie2 indices.
374374

375375
</details>
376376

main.nf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ nextflow.enable.dsl = 2
1717
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1818
*/
1919

20-
// TODO nf-core: Remove this line if you don't need a FASTA file
21-
// This is an example of how to use getGenomeAttribute() to fetch parameters
22-
// from igenomes.config using `--genome`
2320
params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
2421
params.gtf = WorkflowMain.getGenomeAttribute(params, 'gtf')
2522
params.gff = WorkflowMain.getGenomeAttribute(params, 'gff')

0 commit comments

Comments
 (0)