From e7f44ada98a98bf784fb27529e35b70c4ca4dc69 Mon Sep 17 00:00:00 2001 From: hanna Date: Mon, 21 Sep 2009 15:32:49 +0000 Subject: [PATCH] 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 --- .../org/broadinstitute/sting/gatk/CommandLineExecutable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/org/broadinstitute/sting/gatk/CommandLineExecutable.java b/java/src/org/broadinstitute/sting/gatk/CommandLineExecutable.java index 5b44248cb..55ac87b03 100644 --- a/java/src/org/broadinstitute/sting/gatk/CommandLineExecutable.java +++ b/java/src/org/broadinstitute/sting/gatk/CommandLineExecutable.java @@ -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 unpackReads( List inputFiles ) { + public static List unpackList( List inputFiles ) { List unpackedReads = new ArrayList(); for( File inputFile: inputFiles ) { if (inputFile.getName().endsWith(".list") ) {