Skip to content

Commit 0fcedd7

Browse files
pesapstaadecker
authored andcommitted
If post-step is passed dont query the dabase
1 parent d9e5365 commit 0fcedd7

File tree

1 file changed

+1
-1
lines changed
  • switch_model/wecc/get_inputs

1 file changed

+1
-1
lines changed

switch_model/wecc/get_inputs/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def main():
5151
full_config = load_config()
5252
switch_to_input_dir(full_config, overwrite=args.overwrite)
5353

54-
if not args.post_process_only is None:
54+
if not args.post_process_only and args.post_process_step is None:
5555
query_db(full_config, skip_cf=args.skip_cf)
5656

5757
print("\nRunning post processing...")

0 commit comments

Comments
 (0)