Skip to content

Commit 365378b

Browse files
committed
Corrected a bug with replicate plots.
1 parent a3a1e0f commit 365378b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structure_threader/structure_threader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def create_plts(resultsdir, wrapped_prog, Ks):
187187
if arg.replicates == 1:
188188
file_to_plot = "1"
189189
else:
190-
file_to_plot = str(randrange(arg.minK, arg.replicates))
190+
file_to_plot = str(randrange(1, arg.replicates + 1))
191191
plt_files = [os.path.join(resultsdir, "K") + str(i) + "_rep" +
192192
file_to_plot + "_f"
193193
for i in plt_list]

0 commit comments

Comments
 (0)