Skip to content
Snippets Groups Projects
Commit abf49527 authored by tjc's avatar tjc
Browse files

fix for variants without a format

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@16002 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent af7a78d9
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,8 @@ class VCFRecord ...@@ -122,6 +122,8 @@ class VCFRecord
protected String getFormatValue(String key) protected String getFormatValue(String key)
{ {
if(getFormat() == null)
return null;
String fmts[] = COLON_PATTERN.split(getFormat()); String fmts[] = COLON_PATTERN.split(getFormat());
for(int i=0; i<fmts.length; i++) for(int i=0; i<fmts.length; i++)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment