Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
03cf523d
Commit
03cf523d
authored
Feb 24, 2020
by
Piotr Gawron
Browse files
check for gene color only if gene is defiend
parent
ab6bee06
Pipeline
#21417
passed with stage
in 11 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
converter-graphics/src/main/java/lcsb/mapviewer/converter/graphics/bioEntity/element/species/SpeciesConverter.java
View file @
03cf523d
...
...
@@ -615,11 +615,14 @@ public abstract class SpeciesConverter<T extends Species> extends ElementConvert
protected
void
drawTranscriptionSite
(
final
TranscriptionSite
transcriptionSite
,
final
Graphics2D
graphics
)
{
Color
color
=
graphics
.
getColor
();
if
(
transcriptionSite
.
getActive
()
&&
!
transcriptionSite
.
getSpecies
().
getColor
().
equals
(
Color
.
WHITE
)
)
{
if
(
transcriptionSite
.
getActive
())
{
color
=
Color
.
RED
;
}
else
{
color
=
Color
.
BLACK
;
}
if
(
transcriptionSite
.
getSpecies
()
!=
null
&&
transcriptionSite
.
getSpecies
().
getColor
().
equals
(
Color
.
WHITE
))
{
color
=
Color
.
BLACK
;
}
double
y
=
transcriptionSite
.
getPosition
().
getY
();
double
x
=
transcriptionSite
.
getPosition
().
getX
();
PolylineData
line
=
new
PolylineData
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment