File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -828,6 +828,7 @@ def plot_metrics_summary(metrics_dict: dict, config: dict) -> dict:
828
828
# for any entry in metrics_dict with a dict as value (these are where the
829
829
# metrics are per read length) get average of the top 3 values of that dict
830
830
for key , value in metrics_dict .items ():
831
+ print (key , value )
831
832
if isinstance (value , dict ):
832
833
metrics_dict [key ] = sum (sorted (value .values (), reverse = True )[:3 ])/ 3
833
834
Original file line number Diff line number Diff line change @@ -357,8 +357,8 @@ def annotation_mode(
357
357
results_dict ["metrics" ]["ratio_cds:leader" ] = \
358
358
region_region_ratio_metric (
359
359
mRNA_distribution = results_dict ["mRNA_distribution" ],
360
- region1 = "five_leader " ,
361
- region2 = "CDS " ,
360
+ region1 = "CDS " ,
361
+ region2 = "five_leader " ,
362
362
)
363
363
results_dict ["metrics" ]["ratio_cds:trailer" ] = \
364
364
region_region_ratio_metric (
You can’t perform that action at this time.
0 commit comments