Fix for invalid format error when outputting BAM files.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1438 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
4cf9110468
commit
21091b9839
|
|
@ -352,8 +352,8 @@ class SAMFileWriterArgumentTypeDescriptor extends ArgumentTypeDescriptor {
|
|||
COMPRESSION_SHORTNAME,
|
||||
"Compression level to use for writing BAM files",
|
||||
false,
|
||||
"",
|
||||
"" );
|
||||
null,
|
||||
null );
|
||||
|
||||
return Arrays.asList( writerDefinition, compressionDefinition );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -258,9 +258,6 @@ public class ParsingEngine {
|
|||
if( argumentMatches.size() == 0 )
|
||||
return;
|
||||
|
||||
if( argumentMatches.size() > 1 )
|
||||
throw new StingException("Too many values matched argument: " + source.field.getName());
|
||||
|
||||
if( source.clazz.isAssignableFrom(target.getClass()) ) {
|
||||
Object value = source.parse( source, target, argumentMatches.toArray(new ArgumentMatch[0]) );
|
||||
if( clp == null || !clp.intercept(source, target, value) )
|
||||
|
|
|
|||
Loading…
Reference in New Issue