Skip to content

Commit 08ac39c

Browse files
committed
Deprecate keyword plot_results
1 parent 8cd60bb commit 08ac39c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

qha/calculator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, user_settings: Dict[str, Any]):
4242
'T_MIN', 'NT', 'DT', 'DT_SAMPLE',
4343
'P_MIN', 'NTV', 'DELTA_P', 'DELTA_P_SAMPLE',
4444
'volume_ratio', 'order', 'p_min_modifier',
45-
'T4FV', 'output_directory', 'plot_results', 'high_verbosity', 'qha_output')
45+
'T4FV', 'output_directory', 'high_verbosity', 'qha_output')
4646

4747
for key in allowed_keys:
4848
try:
@@ -222,7 +222,7 @@ def desired_pressure_status(self) -> None:
222222

223223
save_to_output(d['qha_output'], textwrap.dedent("""\
224224
!!!ATTENTION!!!
225-
225+
226226
DESIRED PRESSURE is too high (NTV is too large)!
227227
QHA results might not be right!
228228
Please reduce the NTV accordingly, for example, try to set NTV < {:4d}.

qha/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
# output setting
3333
'output_directory': './results/',
3434
'T4FV': ['0', '300'],
35-
'plot_results': False,
3635
'high_verbosity': False
3736
}
3837

@@ -59,7 +58,6 @@ class Settings(collections.ChainMap):
5958
'volume_ratio': 1.45,
6059
'output_directory': './results/',
6160
'T4FV': ['0', '300'],
62-
'plot_results': False,
6361
'high_verbosity': False
6462
}
6563

0 commit comments

Comments
 (0)