Skip to content

Commit 2f0dbb1

Browse files
committed
more env variable gymnastics
1 parent 4633ed8 commit 2f0dbb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dsst_defacing_wf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,12 @@ def main():
198198

199199
# prep for visual inspection using visualqc deface
200200
print(f"Preparing for QC by visual inspection...\n")
201-
run_command(f"export DISPLAY=$TMP_DISPLAY;")
201+
202202
vqcdeface_cmd = vqcdeface_prep(input_dir, defacing_outputs)
203203
print(f"Run the following command to start a VisualQC Deface session:\n\t{vqcdeface_cmd}\n")
204204
with open(output / 'QC_prep' / 'defacing_qc_cmd', 'w') as f:
205205
f.write(vqcdeface_cmd + '\n')
206+
run_command(f"export DISPLAY=$TMP_DISPLAY;")
206207

207208

208209
if __name__ == "__main__":

0 commit comments

Comments
 (0)