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

tidy

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5812 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 1c1c75e0
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.40 2007-03-19 10:14:05 tjc Exp $ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.41 2007-03-28 09:16:10 tjc Exp $
*/ */
package uk.ac.sanger.artemis.io; package uk.ac.sanger.artemis.io;
...@@ -42,7 +42,7 @@ import java.sql.Timestamp; ...@@ -42,7 +42,7 @@ import java.sql.Timestamp;
* A DocumentEntry that can read an GFF entry from a Document. * A DocumentEntry that can read an GFF entry from a Document.
* *
* @author Kim Rutherford * @author Kim Rutherford
* @version $Id: GFFDocumentEntry.java,v 1.40 2007-03-19 10:14:05 tjc Exp $ * @version $Id: GFFDocumentEntry.java,v 1.41 2007-03-28 09:16:10 tjc Exp $
**/ **/
public class GFFDocumentEntry extends SimpleDocumentEntry public class GFFDocumentEntry extends SimpleDocumentEntry
...@@ -457,20 +457,12 @@ public class GFFDocumentEntry extends SimpleDocumentEntry ...@@ -457,20 +457,12 @@ public class GFFDocumentEntry extends SimpleDocumentEntry
for(int j=0; j<new_set.size(); j++) for(int j=0; j<new_set.size(); j++)
{ {
try if(j == 0)
{ gene.addSplicedFeatures(transcript_id,
if(j == 0)
gene.addSplicedFeatures(transcript_id,
(Feature)new_set.get(j), true ); (Feature)new_set.get(j), true );
else else
gene.addSplicedFeatures(transcript_id, gene.addSplicedFeatures(transcript_id,
(Feature)new_set.get(j)); (Feature)new_set.get(j));
}
catch(InvalidRelationException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
} }
} }
......
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