Lines Matching refs:OUTPUT_DIR
24 OUTPUT_DIR = ""
31 if OUTPUT_DIR == "":
35 size = os.path.getsize("{}{}".format(OUTPUT_DIR, OUTPUT_FILE_NAME))
36 with open("{}{}".format(OUTPUT_DIR, OUTPUT_FILE_NAME), 'rb') as fd:
44 if OUTPUT_DIR == "":
46 if not os.path.exists(OUTPUT_DIR):
47 os.makedirs(OUTPUT_DIR, exist_ok=True)
48 with open("{}{}".format(OUTPUT_DIR, OUTPUT_FILE_NAME), 'w') as fd_struct:
57 with open("{}{}".format(OUTPUT_DIR, HDC_FILE), 'w') as fd_hdc:
106 parser.add_argument('-o', dest='OUTPUT_DIR', required=True, type=str,
116 global OUTPUT_DIR
117 OUTPUT_DIR = args.OUTPUT_DIR
118 print("OUTPUT_DIR:", OUTPUT_DIR)