Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
8152ad0d
Commit
8152ad0d
authored
Sep 12, 2019
by
Matthieu Muffato
Committed by
ens-bwalts
Sep 25, 2019
Browse files
bugfix: allow generating graphs of pipelines with a dot in their name
parent
4d0f889f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
+1
-0
modules/Bio/EnsEMBL/Hive/Utils/GraphViz.pm
modules/Bio/EnsEMBL/Hive/Utils/GraphViz.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
View file @
8152ad0d
...
...
@@ -329,6 +329,7 @@ sub _add_pipeline_label {
my
$node_fontname
=
$self
->
config_get
('
Node
',
'
Details
',
'
Font
');
my
$pipeline_label
=
$pipeline
->
display_name
;
my
$pipelabel_node_name
=
'
pipelabel_
'
.
$pipeline
->
hive_pipeline_name
;
$pipelabel_node_name
=~
s/\./_/g
;
$self
->
graph
()
->
add_node
(
$pipelabel_node_name
,
shape
=>
'
plaintext
',
...
...
modules/Bio/EnsEMBL/Hive/Utils/GraphViz.pm
View file @
8152ad0d
...
...
@@ -123,7 +123,7 @@ sub display_subgraph {
my
$prefix
=
"
\t
"
x
$depth
;
my
$text
=
'';
$text
.=
$prefix
.
"
subgraph cluster_
${cluster_name}
{
\n
";
$text
.=
$prefix
.
"
subgraph
\"
cluster_
${cluster_name}
\"
{
\n
";
# uncomment the following line to see the cluster names:
# $text .= $prefix . "\tlabel=\"$cluster_name\";\n";
...
...
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