Make unpackList public static so that Doug can use it in the scatter/gather framework.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1665 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
7b627fd622
commit
e7f44ada98
|
|
@ -136,7 +136,7 @@ public abstract class CommandLineExecutable extends CommandLineProgram {
|
|||
* @param argCollection Collection of arguments to preprocess.
|
||||
*/
|
||||
private void processArguments( GATKArgumentCollection argCollection ) {
|
||||
argCollection.samFiles = unpackReads( argCollection.samFiles );
|
||||
argCollection.samFiles = unpackList( argCollection.samFiles );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -147,7 +147,7 @@ public abstract class CommandLineExecutable extends CommandLineProgram {
|
|||
*
|
||||
* @return
|
||||
*/
|
||||
private List<File> unpackReads( List<File> inputFiles ) {
|
||||
public static List<File> unpackList( List<File> inputFiles ) {
|
||||
List<File> unpackedReads = new ArrayList<File>();
|
||||
for( File inputFile: inputFiles ) {
|
||||
if (inputFile.getName().endsWith(".list") ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue