Skip to content

Commit

Permalink
#62: 2prev
Browse files Browse the repository at this point in the history
  • Loading branch information
mikessh committed Feb 15, 2017
1 parent 08716af commit 579176d
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -149,6 +149,10 @@ public abstract class ClonotypeStreamParser implements Iterable<Clonotype> {
return null
}

if (clonotypeString.trim().empty) {
return null // ignore blank lines
}

totalLines++

def clonotype = innerParse(clonotypeString)
Expand Down Expand Up @@ -182,7 +186,7 @@ public abstract class ClonotypeStreamParser implements Iterable<Clonotype> {
return clonotype
} catch (Exception e) {
throw new RuntimeException("Unable to parse clonotype string $clonotypeString " +
"for $software input type.", e)
"for $software input type: ${e.message}", e)
}
}

Expand Down

0 comments on commit 579176d

Please sign in to comment.