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

tidy

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5793 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 337b606e
No related branches found
No related tags found
No related merge requests found
...@@ -373,13 +373,11 @@ public class DatabaseDocument extends Document ...@@ -373,13 +373,11 @@ public class DatabaseDocument extends Document
List schemaList = new Vector(); List schemaList = new Vector();
schemaList.add(schema); schemaList.add(schema);
ByteBuffer bb = getGeneFeature(srcFeatureId,
return new ByteArrayInputStream(getGeneFeature(srcFeatureId, schemaList, dao);
schemaList, dao).getBytes()); return new ByteArrayInputStream(bb.getBytes());
} }
gff_buffer = getGff(dao); gff_buffer = getGff(dao);
if(splitGFFEntry) if(splitGFFEntry)
{ {
...@@ -751,15 +749,13 @@ public class DatabaseDocument extends Document ...@@ -751,15 +749,13 @@ public class DatabaseDocument extends Document
for(int j = 0; j < transcipt_relations.size(); j++) for(int j = 0; j < transcipt_relations.size(); j++)
{ {
id = ((FeatureRelationship) transcipt_relations.get(j)).getFeatureBySubjectId().getFeatureId(); id = ((FeatureRelationship) transcipt_relations.get(j)).getFeatureBySubjectId().getFeatureId();
buildGffLineFromId(dao, id, id_store, parent.getUniqueName(), buildGffLineFromId(dao, id, id_store, parent.getUniqueName(),
src_id, buff, null); src_id, buff, null);
} }
} }
logger4j.debug( new String(buff.getBytes()) );
System.out.println( new String(buff.getBytes()) );
return buff; return buff;
} }
......
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