Tweak report during init_pipeline.pl
Created by: muffato
Use case
When initializing a pipeline with tweaks we currently see this:
$ init_pipeline.pl Bio::EnsEMBL::Hive::Examples::LongMult::PipeConfig::LongMultSt_javaconf $(mysql-local details hive) -tweak 'pipeline.param[take_time]=0'
(...)
> Applying tweaks.
ARRAY(0x2759b18)
> Storing the pipeline in the database.
(...)
- We should be printing the actual tweaks, not a reference to a Perl array
- The tweaks should only be displayed when
hive_debug_init
is set
Description
The commits fix these two issues. Also, init_pipeline is now aware that the tweaks already contain \n
, so no need to add it again.
Possible Drawbacks
N/A
Testing
Have you added/modified unit tests to test the changes?
No. The init_pipeline output is not covered by tests
Have you run the entire test suite and no regression was detected?
Yes - OK
Merge request reports
Activity
Filter activity
Created by: codecov[bot]
Codecov Report
Merging #107 into master will decrease coverage by
0.02%
. The diff coverage is100%
.@@ Coverage Diff @@ ## master #107 +/- ## ========================================== - Coverage 82.21% 82.19% -0.03% ========================================== Files 175 175 Lines 10251 10250 -1 Branches 1633 1633 ========================================== - Hits 8428 8425 -3 Misses 1142 1142 - Partials 681 683 +2
Impacted Files Coverage Δ modules/Bio/EnsEMBL/Hive/Scripts/InitPipeline.pm 81.25% <100%> (-0.57%)
modules/Bio/EnsEMBL/Hive/Valley.pm 88.17% <0%> (-1.08%)
modules/Bio/EnsEMBL/Hive/Utils/Test.pm 81.72% <0%> (-0.54%)
modules/Bio/EnsEMBL/Hive/Worker.pm 65.63% <0%> (-0.29%)
modules/Bio/EnsEMBL/Hive/Queen.pm 70% <0%> (-0.26%)
modules/Bio/EnsEMBL/Hive/TheApiary.pm 88.57% <0%> (+5.71%)
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5ed1dc4...4d86655. Read the comment docs.
Please register or sign in to reply