File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def vtr_command_argparser(prog=None):
187
187
188
188
house_keeping .add_argument (
189
189
"-temp_dir" ,
190
- default = None ,
190
+ default = os . getcwd () + "/temp" ,
191
191
help = "Absolute Directory to run the flow in (will be created if non-existent)." ,
192
192
)
193
193
@@ -523,10 +523,8 @@ def vtr_command_main(arg_list, prog=None):
523
523
args , unknown_args = vtr_command_argparser (prog ).parse_known_args (arg_list )
524
524
error_status = "Error"
525
525
526
- if args .temp_dir is None :
527
- temp_dir = Path ("./temp" )
528
- else :
529
- temp_dir = Path (args .temp_dir )
526
+ assert args .temp_dir
527
+ temp_dir = Path (args .temp_dir )
530
528
# Specify how command should be run
531
529
command_runner = vtr .CommandRunner (
532
530
track_memory = args .track_memory_usage ,
You can’t perform that action at this time.
0 commit comments