Skip to content

Commit 3246bb9

Browse files
committed
Corrected the way the symlink for fastStructure input is created. Fixes #53.
1 parent 7ff9cc4 commit 3246bb9

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
@@ -99,7 +99,7 @@ def runprogram(wrapped_prog, iterations, arg):
9999
if arg.infile.endswith(".str") is False: # Do we need a symlink?
100100
infile = arg.infile
101101
try:
102-
os.symlink(arg.infile, arg.infile+".str")
102+
os.symlink(os.path.basename(arg.infile), arg.infile+".str")
103103
except OSError as err:
104104
if err.errno != 17:
105105
raise

0 commit comments

Comments
 (0)