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
guiHive
Commits
d7d60288
Commit
d7d60288
authored
Nov 13, 2015
by
Leo Gordon
Browse files
Make guiHive show foreign analyses as non-interactive elements of the diagram
parent
ce9ef480
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
versions/77/ensembl-hive/modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
...s/77/ensembl-hive/modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
+3
-1
versions/77/ensembl-hive/modules/Bio/EnsEMBL/Hive/Utils/GraphViz.pm
...7/ensembl-hive/modules/Bio/EnsEMBL/Hive/Utils/GraphViz.pm
+1
-1
No files found.
versions/77/ensembl-hive/modules/Bio/EnsEMBL/Hive/Utils/Graph.pm
View file @
d7d60288
...
...
@@ -137,7 +137,9 @@ sub _analysis_node_name {
my
(
$self
,
$analysis
)
=
@_
;
my
$analysis_node_name
=
'
analysis_
'
.
$analysis
->
relative_display_name
(
$self
->
pipeline
);
$analysis_node_name
=~
s/\W/__/g
;
if
(
$analysis_node_name
=~
s/\W/__/g
)
{
$analysis_node_name
=
'
foreign_
'
.
$analysis_node_name
;
}
return
$analysis_node_name
;
}
...
...
versions/77/ensembl-hive/modules/Bio/EnsEMBL/Hive/Utils/GraphViz.pm
View file @
d7d60288
...
...
@@ -141,7 +141,7 @@ sub _as_debug {
# but newer versions of dot allow more freedom, so we patch dot input after generation:
#
$text
=~
s/^(\s+table_.*)"record"/$1"tab"/mg
;
$text
=~
s/^(\s+analysis_.*)"record"/$1"Mrecord"/mg
;
$text
=~
s/^(\s+
(?:foreign_)?
analysis_.*)"record"/$1"Mrecord"/mg
;
# uncomment the following line to see the final input to dot
# print $text;
...
...
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