poreCov icon indicating copy to clipboard operation
poreCov copied to clipboard

Catch identical filenames

Open MarieLataretu opened this issue 2 years ago • 5 comments

I suggest to change simpleName to baseName here: https://github.com/replikation/poreCov/blob/9ba98fe38d666508fa7dd0bd16d4accc5fe36a4b/poreCov.nf#L183 (and potentially somewhere else) to avoid problems with file names with more than one ..

Else or in addition a sanity check for identical file names would be good.


Context: https://www.nextflow.io/docs/latest/script.html#check-file-attributes

MarieLataretu avatar Jan 13 '22 13:01 MarieLataretu