We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a50ff2e commit 5aed545Copy full SHA for 5aed545
bin/pbpt_gen_template.py
@@ -332,6 +332,10 @@ def run_gen_commands(self):
332
class GenCmds(PBPTGenQProcessToolCmds):
333
def gen_command_info(self, **kwargs):
334
print("** This function needs implementing! **")
335
+
336
+ # Create output directory if it doesn't exist.
337
+ if not os.path.exists(kwargs["out_dir"]):
338
+ os.mkdir(kwargs["out_dir"])
339
340
# Get the list of input images
341
ref_imgs = glob.glob(kwargs["ref_imgs"])
0 commit comments