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

fix lazy for loading

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@11765 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 87cd67a5
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ public class ClusterLazyQualifierValue implements LazyQualifierValue
/** data loaded */
private boolean lazyLoaded = false;
/** include gene name */
private boolean loadGeneName = false;
private boolean loadGeneName = true;
private String value;
private String name;
......@@ -76,7 +76,7 @@ public class ClusterLazyQualifierValue implements LazyQualifierValue
public String getString()
{
if(forceLoad && (!lazyLoaded || loadGeneName))
if(forceLoad && !lazyLoaded)
return getHardString();
else
return value;
......
......@@ -154,7 +154,9 @@ public class OrthoParalogTable extends AbstractMatchTable
for(int j=0; j<lazyValues.size(); j++)
{
ClusterLazyQualifierValue lazyValue = (ClusterLazyQualifierValue)lazyValues.get(j);
lazyValue.setLoadGeneName(true);
if(!lazyValue.isLazyLoaded())
lazyValue.setLoadGeneName(true);
}
}
......
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