Doing things too quickly is also naughty. Thanks, Andrey. Now, we're even.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4597 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
58f7b4c595
commit
1b3fc8ddd2
|
|
@ -48,9 +48,9 @@ public class RefSeqCodec implements FeatureCodec {
|
|||
String[] exon_stops = fields[10].split(",");
|
||||
String[] eframes = fields[15].split(",");
|
||||
|
||||
if ( exon_starts.length == exon_stops.length )
|
||||
if ( exon_starts.length != exon_stops.length )
|
||||
throw new UserException.MalformedFile("Data format error: numbers of exon start and stop positions differ for line=" + line);
|
||||
if ( exon_starts.length == eframes.length )
|
||||
if ( exon_starts.length != eframes.length )
|
||||
throw new UserException.MalformedFile("Data format error: numbers of exons and exon frameshifts differ for line=" + line);
|
||||
|
||||
ArrayList<GenomeLoc> exons = new ArrayList<GenomeLoc>(exon_starts.length);
|
||||
|
|
|
|||
Loading…
Reference in New Issue