Qualifier q = (Qualifier) quals.next();
if (q.getName().equals("translation"))
{
- prseq=q.getValue();
+ prseq=q.getValues()[0];
}
else
if (q.getName().equals("protein_id"))
{
- prid=q.getValue();
+ prid=q.getValues()[0];
}
else
if (q.getName().equals("codon_start"))
{
- prstart = Integer.parseInt(q.getValue());
+ prstart = Integer.parseInt(q.getValues()[0]);
}
else
if (q.getName().equals("product")){
- prname = q.getValue();
+ prname = q.getValues()[0];
} else {
// throw anything else into the additional properties hash
- vals.put(q.getName(), q.getValue());
+ vals.put(q.getName(), q.getValues().toString());
}
}
}