Skip to content
Snippets Groups Projects
Commit 8858d0af authored by tcarver's avatar tcarver
Browse files

change isFminPartial / isFmaxPartial to Start_range / End_range

parent 4c60c5e2
No related branches found
No related tags found
No related merge requests found
...@@ -110,8 +110,6 @@ public class FeatureList extends EntryGroupPanel ...@@ -110,8 +110,6 @@ public class FeatureList extends EntryGroupPanel
/** JScrollPane viewport that this panel is the view of */ /** JScrollPane viewport that this panel is the view of */
private JViewport viewport = null; private JViewport viewport = null;
private boolean isDatabaseGroup = false;
/** /**
* Create a new FeatureList with the default number of rows. * Create a new FeatureList with the default number of rows.
...@@ -128,8 +126,6 @@ public class FeatureList extends EntryGroupPanel ...@@ -128,8 +126,6 @@ public class FeatureList extends EntryGroupPanel
{ {
super(entry_group, selection, goto_event_source, base_plot_group); super(entry_group, selection, goto_event_source, base_plot_group);
isDatabaseGroup = GeneUtils.isDatabaseEntry(getEntryGroup());
addMouseListener(new MouseAdapter() addMouseListener(new MouseAdapter()
{ {
private FeaturePopup popup = null; private FeaturePopup popup = null;
...@@ -760,7 +756,7 @@ public class FeatureList extends EntryGroupPanel ...@@ -760,7 +756,7 @@ public class FeatureList extends EntryGroupPanel
else else
{ {
String note = null; String note = null;
if(isDatabaseGroup) if(feature.getEmblFeature() instanceof GFFStreamFeature)
{ {
try try
{ {
...@@ -812,15 +808,14 @@ public class FeatureList extends EntryGroupPanel ...@@ -812,15 +808,14 @@ public class FeatureList extends EntryGroupPanel
high_pos = String.valueOf(low_marker.getRawPosition()); high_pos = String.valueOf(low_marker.getRawPosition());
} }
} }
if(isDatabaseGroup) if(feature.getEmblFeature() instanceof GFFStreamFeature)
{ {
try try
{ {
if(feature.getQualifierByName("isFminPartial") != null) if(feature.getQualifierByName("Start_range") != null)
low_pos = "<"+low_pos; low_pos = "<"+low_pos;
if(feature.getQualifierByName("isFmaxPartial") != null) if(feature.getQualifierByName("End_range") != null)
high_pos = ">"+high_pos; high_pos = ">"+high_pos;
} }
catch (InvalidRelationException e){} catch (InvalidRelationException e){}
......
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