Skip to content

Commit b28658e

Browse files
committed
fix: Fix volume_ratio user setting is not functioning
1 parent 41130bd commit b28658e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

qha/cli/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def run(self, namespace):
4444
try:
4545
user_settings.update({key: settings[key]})
4646
except KeyError:
47-
raise KeyError("Key '{0}' is not set in your settings!")
47+
continue
4848

4949
if not os.path.exists(user_settings['output_directory']):
5050
os.makedirs(user_settings['output_directory'])

qha/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
'DELTA_P': 0.1,
2929
'DELTA_P_SAMPLE': 1,
3030
'static_only': False,
31-
'volume_ratio': 1.45,
3231
# output setting
3332
'output_directory': './results/',
3433
'T4FV': ['0', '300'],
@@ -55,7 +54,6 @@ class Settings(collections.ChainMap):
5554
'DELTA_P': 0.1,
5655
'DELTA_P_SAMPLE': 1,
5756
'static_only': False,
58-
'volume_ratio': 1.45,
5957
'output_directory': './results/',
6058
'T4FV': ['0', '300'],
6159
'high_verbosity': False

0 commit comments

Comments
 (0)