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
ensembl-gh-mirror
ensembl-hive
Commits
22794860
Commit
22794860
authored
May 30, 2012
by
Leo Gordon
Browse files
SemaphoreBoxes colours moved under "Colours" section
parent
0550d9ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
hive_config.json
hive_config.json
+5
-5
modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
+4
-4
No files found.
hive_config.json
View file @
22794860
...
...
@@ -18,6 +18,10 @@
"control"
:
"red"
,
"semablock"
:
"red"
,
},
"SemaphoreBoxes"
:
{
"ColourScheme"
:
"blues9"
,
#
Examples:
"blues9"
or
"bugn7"
or
"orrd8"
or
"purples7"
or
"ylorbr9"
"ColourOffset"
:
1
,
},
},
"Fonts"
:
{
"node"
:
"Helvetica"
,
...
...
@@ -25,11 +29,7 @@
},
"DisplayDetails"
:
1
,
"DisplayStretched"
:
0
,
"SemaphoreBoxes"
:
{
"Display"
:
1
,
"ColourScheme"
:
"blues9"
,
#
Examples:
"blues9"
or
"bugn7"
or
"orrd8"
or
"purples7"
or
"ylorbr9"
"ColourOffset"
:
1
,
},
"DisplaySemaphoreBoxes"
:
1
,
}
}
modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
View file @
22794860
...
...
@@ -28,7 +28,7 @@ $Author: lg4 $
=head1 VERSION
$Revision: 1.1
4
$
$Revision: 1.1
5
$
=cut
...
...
@@ -194,10 +194,10 @@ sub build {
}
}
if
(
$self
->
config
->
get
('
Graph
',
'
SemaphoreBoxes
'
,
'
Display
'
)
)
{
if
(
$self
->
config
->
get
('
Graph
',
'
Display
SemaphoreBoxes
')
)
{
$self
->
graph
->
subgraphs
(
\
%subgraph_allocation
);
$self
->
graph
->
colour_scheme
(
$self
->
config
->
get
('
Graph
',
'
SemaphoreBoxes
',
'
ColourScheme
')
);
$self
->
graph
->
colour_offset
(
$self
->
config
->
get
('
Graph
',
'
SemaphoreBoxes
',
'
ColourOffset
')
);
$self
->
graph
->
colour_scheme
(
$self
->
config
->
get
('
Graph
',
'
Colours
',
'
SemaphoreBoxes
',
'
ColourScheme
')
);
$self
->
graph
->
colour_offset
(
$self
->
config
->
get
('
Graph
',
'
Colours
',
'
SemaphoreBoxes
',
'
ColourOffset
')
);
}
return
$self
->
graph
();
...
...
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