diff --git a/.gitignore b/.gitignore index 46f69e4..317185f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ work/ data/ results/ .DS_Store -tests/test_data + +*.pyc + +.*.sw[o-q] diff --git a/main.nf b/main.nf index e03f021..df7de80 100644 --- a/main.nf +++ b/main.nf @@ -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