Skip to content

Commit 5f220a2

Browse files
committed
Added some comments
1 parent 02e83cd commit 5f220a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

structure_threader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ def runprogram(iterations):
4848

4949
K, rep_num = iterations
5050

51-
if wrapped_prog == "structure":
51+
if wrapped_prog == "structure": # Run STRUCTURE
5252
# Keeps correct directory separator across OS's
5353
output_file = os.path.join(outpath, "K" + str(K) + "_rep" +
5454
str(rep_num))
5555
cli = [arg.structure_bin, "-K", str(K), "-i", infile, "-o", output_file]
56-
else:
56+
else: # Run fastStructure
5757
# Keeps correct directory separator across OS's
5858
output_file = os.path.join(outpath, "fS_run_K")
5959
from os import symlink

0 commit comments

Comments
 (0)