Commit 434bd1fe authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Added an option to remove the dbIDs/"unstored" labels

parent 5c51ba12
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
"DisplayJobs" : 0, "DisplayJobs" : 0,
"DisplayJobLength" : 64, "DisplayJobLength" : 64,
"DisplayData" : 0, "DisplayData" : 0,
"DisplayDBIDs" : 1,
"DisplayColumnLength" : 32, "DisplayColumnLength" : 32,
"DisplayConditionLength": 64, "DisplayConditionLength": 64,
"DisplayInputIDTemplate": 1, "DisplayInputIDTemplate": 1,
......
...@@ -367,6 +367,7 @@ sub _add_analysis_node { ...@@ -367,6 +367,7 @@ sub _add_analysis_node {
my $analysis_style = $analysis->can_be_empty() ? 'dashed, filled' : 'filled' ; my $analysis_style = $analysis->can_be_empty() ? 'dashed, filled' : 'filled' ;
my $node_fontname = $self->config_get('Node', 'AnalysisStatus', $analysis_status, 'Font'); my $node_fontname = $self->config_get('Node', 'AnalysisStatus', $analysis_status, 'Font');
my $display_stats = $self->config_get('DisplayStats'); my $display_stats = $self->config_get('DisplayStats');
my $display_dbIDs = $self->config_get('DisplayDBIDs');
my $hive_pipeline = $self->pipeline; my $hive_pipeline = $self->pipeline;
my $colspan = 0; my $colspan = 0;
...@@ -386,7 +387,7 @@ sub _add_analysis_node { ...@@ -386,7 +387,7 @@ sub _add_analysis_node {
} }
$colspan ||= 1; $colspan ||= 1;
my $analysis_label = '<<table border="0" cellborder="0" cellspacing="0" cellpadding="1"><tr><td colspan="'.$colspan.'">'.$analysis->relative_display_name( $hive_pipeline ).' ('.($analysis->dbID || 'unstored').')</td></tr>'; my $analysis_label = '<<table border="0" cellborder="0" cellspacing="0" cellpadding="1"><tr><td colspan="'.$colspan.'">'.$analysis->relative_display_name( $hive_pipeline ).($display_dbIDs ? ' ('.($analysis->dbID || 'unstored').')' : '').'</td></tr>';
if( $display_stats ) { if( $display_stats ) {
$analysis_label .= qq{<tr><td colspan="$colspan"> </td></tr>}; $analysis_label .= qq{<tr><td colspan="$colspan"> </td></tr>};
if( $display_stats eq 'barchart') { if( $display_stats eq 'barchart') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment