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

tidy

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5408 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 2091aa1d
No related branches found
No related tags found
No related merge requests found
...@@ -20,12 +20,13 @@ ...@@ -20,12 +20,13 @@
* 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.38 2007-02-13 09:38:28 tjc Exp $ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.39 2007-02-16 09:36:18 tjc Exp $
*/ */
package uk.ac.sanger.artemis.io; package uk.ac.sanger.artemis.io;
import uk.ac.sanger.artemis.chado.Similarity; import uk.ac.sanger.artemis.chado.Similarity;
import uk.ac.sanger.artemis.components.Splash;
import uk.ac.sanger.artemis.util.*; import uk.ac.sanger.artemis.util.*;
import java.io.IOException; import java.io.IOException;
...@@ -41,7 +42,7 @@ import java.sql.Timestamp; ...@@ -41,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.38 2007-02-13 09:38:28 tjc Exp $ * @version $Id: GFFDocumentEntry.java,v 1.39 2007-02-16 09:36:18 tjc Exp $
**/ **/
public class GFFDocumentEntry extends SimpleDocumentEntry public class GFFDocumentEntry extends SimpleDocumentEntry
...@@ -254,7 +255,8 @@ public class GFFDocumentEntry extends SimpleDocumentEntry ...@@ -254,7 +255,8 @@ public class GFFDocumentEntry extends SimpleDocumentEntry
// //
// load /similarity - lazily // load /similarity - lazily
loadSimilarityLazyData(original_features); if(getDocument() instanceof DatabaseDocument)
loadSimilarityLazyData(original_features);
} }
catch(InvalidRelationException e) catch(InvalidRelationException e)
{ {
...@@ -538,7 +540,10 @@ public class GFFDocumentEntry extends SimpleDocumentEntry ...@@ -538,7 +540,10 @@ public class GFFDocumentEntry extends SimpleDocumentEntry
id_range_store.put(id, new_range); id_range_store.put(id, new_range);
feature_relationship_rank_store.put(id, rank); feature_relationship_rank_store.put(id, rank);
} }
else
Splash.logger4j.warn("NO ID FOUND FOR FEATURE AT: "+
this_feature.getLocation().toString());
if(this_feature_location.isComplement()) if(this_feature_location.isComplement())
new_range_vector.insertElementAt(new_range, 0); new_range_vector.insertElementAt(new_range, 0);
else else
......
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