File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
geex-core/src/main/java/nl/tudelft/context Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,11 @@ public BaseController(final Node node) {
79
79
public void initialize (final URL location ,
80
80
final ResourceBundle resources ) {
81
81
82
- codingSequences .setText (node .getCodingSequenceText ());
82
+ if (node .getSources ().contains ("TKK_REF" )) {
83
+ codingSequences .setText (node .getCodingSequenceText ());
84
+ } else {
85
+ codingSequences .setText ("None" );
86
+ }
83
87
resistances .setText (node .getResistancesText ());
84
88
percentages .setText (node .getBaseCounter ().toString ());
85
89
bases .setText (node .getContent ());
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ protected void initAnnotations() {
67
67
annotationsHolder .getChildren ().add (resistancesLabel );
68
68
}
69
69
70
- if (codingSequencesAmount > 0 ) {
70
+ if (codingSequencesAmount > 0 && node . getSources (). contains ( "TKK_REF" ) ) {
71
71
final Label codingSequencesLabel = new Label (Integer .toString (codingSequencesAmount ));
72
72
codingSequencesLabel .getStyleClass ().add ("coding-sequences-label" );
73
73
annotationsHolder .getChildren ().add (codingSequencesLabel );
You can’t perform that action at this time.
0 commit comments