Skip to content
Snippets Groups Projects
Commit 88e61365 authored by stefan's avatar stefan
Browse files

TmTools for windows Fixed (Escaping problem)

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2634 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent e11d1553
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def _RunTmAlign(tmalign, tmp_dir):
model2_filename=os.path.join(tmp_dir, 'model02.pdb')
if platform.system() == "Windows":
tmalign_path=settings.Locate('tmalign.exe', explicit_file_name=tmalign)
command="\"%s\" \"%s\" \"%s\"" %(os.path.normpath(tmalign_path), model1_filename, model2_filename)
command="\"%s\" %s %s" %(os.path.normpath(tmalign_path), model1_filename, model2_filename)
else:
tmalign_path=settings.Locate('tmalign', explicit_file_name=tmalign)
command="\"%s\" \"%s\" \"%s\"" %(tmalign_path, model1_filename, model2_filename)
......@@ -120,7 +120,7 @@ def _RunTmScore(tmscore, tmp_dir):
model2_filename=os.path.join(tmp_dir, 'model02.pdb')
if platform.system() == "Windows":
tmscore_path=settings.Locate('tmscore.exe', explicit_file_name=tmscore)
command="\"%s\" \"%s\" \"%s\"" %(os.path.normpath(tmscore_path), model1_filename, model2_filename)
command="\"%s\" %s %s" %(os.path.normpath(tmscore_path), model1_filename, model2_filename)
else:
tmscore_path=settings.Locate('tmscore', explicit_file_name=tmscore)
command="\"%s\" \"%s\" \"%s\"" %(tmscore_path, model1_filename, model2_filename)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment