Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
glormph committed Dec 8, 2023
1 parent bc9c998 commit 7e7b0ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ work/
data/
results/
.DS_Store
tests/test_data

*.pyc

.*.sw[o-q]
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ if (!mzmldef && params.mzmls) {
.set { mzml_in }
} else {
header = ['mzmlfile', 'instrument', 'setname', 'plate', 'fraction']
mzmllines = file("${mzmldef}").readLines().collect { it.tokenize('\t') }
mzmllines = file(mzmldef).readLines().collect { it.tokenize('\t') }
if (mzmllines[0] == header) {
/* As above, future use with pushing files with a header becomes enabled, as long as
they use this header format. We cannot do module importing etc yet, have to use DSL2
Expand Down

0 comments on commit 7e7b0ab

Please sign in to comment.