Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Proteo
Commits
b0cb85d8
Commit
b0cb85d8
authored
Mar 06, 2023
by
iker_martin
Browse files
Hotfix for generating the correct SDR in multiple INI file generation
parent
ea63dfcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Exec/PythonCodes/read_multiple.py
View file @
b0cb85d8
...
@@ -182,6 +182,7 @@ def correct_adr(general_dataset):
...
@@ -182,6 +182,7 @@ def correct_adr(general_dataset):
adr_percentage
=
general_dataset
[
Config_section
.
P_ADR
.
value
]
adr_percentage
=
general_dataset
[
Config_section
.
P_ADR
.
value
]
if
(
adr_percentage
!=
0
):
if
(
adr_percentage
!=
0
):
general_dataset
[
Config_section
.
P_ADR
.
value
]
=
sdr
*
(
adr_percentage
/
100
)
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
):
def
create_output_files
(
common_output_name
,
general_data
,
resize_data
,
stage_data
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment