Skip to content

Commit

Permalink
Allow pooling a single sample (may be useful in pipelines)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikessh committed Jul 9, 2016
1 parent 6ee1637 commit e60bef2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ if (opt.h) {

def metadataFileName = opt.m

if (metadataFileName ? opt.arguments().size() != 1 : opt.arguments().size() < 3) {
if (metadataFileName ? opt.arguments().size() != 1 : opt.arguments().size() < 2) {
if (metadataFileName)
println "Only output prefix should be provided in case of -m"
else
println "At least 2 sample files should be provided if not using -m"
println "At least 1 sample files should be provided if not using -m"
cli.usage()
System.exit(2)
}
Expand Down

0 comments on commit e60bef2

Please sign in to comment.