Commit b0cb85d8 authored by iker_martin's avatar iker_martin
Browse files

Hotfix for generating the correct SDR in multiple INI file generation

parent ea63dfcb
......@@ -182,6 +182,7 @@ def correct_adr(general_dataset):
adr_percentage = general_dataset[Config_section.P_ADR.value]
if (adr_percentage != 0):
general_dataset[Config_section.P_ADR.value] = sdr * (adr_percentage/100)
general_dataset[Config_section.P_SDR.value] = sdr * ((100-adr_percentage)/100)
def create_output_files(common_output_name, general_data, resize_data, stage_data):
......
Supports Markdown
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