Commit 7ab1f0cb authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: stop printing overflow-related debug output to STDOUT; interface with...

bugfix: stop printing overflow-related debug output to STDOUT; interface with overflow adaptor simplified
parent 8a48338b
...@@ -55,7 +55,7 @@ sub store_if_needed { ...@@ -55,7 +55,7 @@ sub store_if_needed {
my ($stored_hash) = $self->store({'data'=> $data}, 1); my ($stored_hash) = $self->store({'data'=> $data}, 1);
return $stored_hash->{'analysis_data_id'}; return '_extended_data_id ' . $stored_hash->{'analysis_data_id'};
} }
1; 1;
...@@ -122,21 +122,15 @@ sub CreateNewJob { ...@@ -122,21 +122,15 @@ sub CreateNewJob {
} }
if(length($input_id) >= 255) { if(length($input_id) >= 255) {
print "input_id is '$input_id', length = ".length($input_id)."\n"; $input_id = $analysis->adaptor->db->get_AnalysisDataAdaptor->store_if_needed($input_id);
my $extended_data_id = $analysis->adaptor->db->get_AnalysisDataAdaptor->store_if_needed($input_id);
$input_id = "_extended_data_id $extended_data_id";
} }
if(length($param_id_stack) >= 64) { if(length($param_id_stack) >= 64) {
print "param_id_stack is '$param_id_stack', length = ".length($param_id_stack)."\n"; $param_id_stack = $analysis->adaptor->db->get_AnalysisDataAdaptor->store_if_needed($param_id_stack);
my $extended_data_id = $analysis->adaptor->db->get_AnalysisDataAdaptor->store_if_needed($param_id_stack);
$param_id_stack = "_extended_data_id $extended_data_id";
} }
if(length($accu_id_stack) >= 64) { if(length($accu_id_stack) >= 64) {
print "accu_id_stack is '$accu_id_stack', length = ".length($accu_id_stack)."\n"; $accu_id_stack = $analysis->adaptor->db->get_AnalysisDataAdaptor->store_if_needed($accu_id_stack);
my $extended_data_id = $analysis->adaptor->db->get_AnalysisDataAdaptor->store_if_needed($accu_id_stack);
$accu_id_stack = "_extended_data_id $extended_data_id";
} }
......
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