File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
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 = os . getcwd () + "/temp" ,
190
+ default = None ,
191
191
help = "Absolute Directory to run the flow in (will be created if non-existent)." ,
192
192
)
193
193
@@ -523,8 +523,10 @@ 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
- assert args .temp_dir
527
- temp_dir = Path (args .temp_dir )
526
+ if args .temp_dir is None :
527
+ temp_dir = Path ("./temp" )
528
+ else :
529
+ temp_dir = Path (args .temp_dir )
528
530
# Specify how command should be run
529
531
command_runner = vtr .CommandRunner (
530
532
track_memory = args .track_memory_usage ,
You can’t perform that action at this time.
0 commit comments