git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
01f128f
)
fix parsing of embl entries like S75919 which have feature properties with no values
author
jprocter
<Jim Procter>
Wed, 31 Oct 2007 15:07:08 +0000
(15:07 +0000)
committer
jprocter
<Jim Procter>
Wed, 31 Oct 2007 15:07:08 +0000
(15:07 +0000)
src/jalview/datamodel/xdb/embl/EmblEntry.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/xdb/embl/EmblEntry.java
b/src/jalview/datamodel/xdb/embl/EmblEntry.java
index
9d12ccf
..
59320f7
100644
(file)
--- a/
src/jalview/datamodel/xdb/embl/EmblEntry.java
+++ b/
src/jalview/datamodel/xdb/embl/EmblEntry.java
@@
-534,7
+534,17
@@
public class EmblEntry
else
{
// throw anything else into the additional properties hash
- vals.put(q.getName(), q.getValues().toString());
+ String[] s= q.getValues();
+ StringBuffer sb = new StringBuffer();
+ if (s!=null)
+ {
+ for (int i=0; i<s.length; i++)
+ {
+ sb.append(s[i]);
+ sb.append("\n");
+ }
+ }
+ vals.put(q.getName(), sb.toString());
}
}
}