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) {
7979 public void initialize (final URL location ,
8080 final ResourceBundle resources ) {
8181
82- codingSequences .setText (node .getCodingSequenceText ());
82+ if (node .getSources ().contains ("TKK_REF" )) {
83+ codingSequences .setText (node .getCodingSequenceText ());
84+ } else {
85+ codingSequences .setText ("None" );
86+ }
8387 resistances .setText (node .getResistancesText ());
8488 percentages .setText (node .getBaseCounter ().toString ());
8589 bases .setText (node .getContent ());
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ protected void initAnnotations() {
6767 annotationsHolder .getChildren ().add (resistancesLabel );
6868 }
6969
70- if (codingSequencesAmount > 0 ) {
70+ if (codingSequencesAmount > 0 && node . getSources (). contains ( "TKK_REF" ) ) {
7171 final Label codingSequencesLabel = new Label (Integer .toString (codingSequencesAmount ));
7272 codingSequencesLabel .getStyleClass ().add ("coding-sequences-label" );
7373 annotationsHolder .getChildren ().add (codingSequencesLabel );
You can’t perform that action at this time.
0 commit comments