git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'tasks/JAL-3035_remove_dasobert_dependency' into develop
[jalview.git]
/
src
/
jalview
/
ext
/
ensembl
/
EnsemblSymbol.java
diff --git
a/src/jalview/ext/ensembl/EnsemblSymbol.java
b/src/jalview/ext/ensembl/EnsemblSymbol.java
index
65be906
..
40d6cad
100644
(file)
--- a/
src/jalview/ext/ensembl/EnsemblSymbol.java
+++ b/
src/jalview/ext/ensembl/EnsemblSymbol.java
@@
-44,8
+44,6
@@
public class EnsemblSymbol extends EnsemblXref
{
private static final String GENE = "gene";
private static final String TYPE = "type";
{
private static final String GENE = "gene";
private static final String TYPE = "type";
- private static final String ID = "id";
-
/**
* Constructor given the target domain to fetch data from
*
/**
* Constructor given the target domain to fetch data from
*
@@
-77,7
+75,7
@@
public class EnsemblSymbol extends EnsemblXref
while (rvals.hasNext())
{
JSONObject val = (JSONObject) rvals.next();
while (rvals.hasNext())
{
JSONObject val = (JSONObject) rvals.next();
- String id = val.get(ID).toString();
+ String id = val.get(JSON_ID).toString();
String type = val.get(TYPE).toString();
if (id != null && GENE.equals(type))
{
String type = val.get(TYPE).toString();
if (id != null && GENE.equals(type))
{