Guarantees that the list of files will always be in the same order.
This commit is contained in:
parent
dd92a14b40
commit
1af76736b9
|
|
@ -31,7 +31,7 @@ object QScriptUtils {
|
||||||
for (bam <- fromFile(in).getLines)
|
for (bam <- fromFile(in).getLines)
|
||||||
if (!bam.startsWith("#") && !bam.isEmpty )
|
if (!bam.startsWith("#") && !bam.isEmpty )
|
||||||
list :+= new File(bam.trim())
|
list :+= new File(bam.trim())
|
||||||
list
|
list.sortWith(_.compareTo(_) < 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue