Skip to content
Snippets Groups Projects
Commit ca276397 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Remove useless extra re-join of abs. path.

parent 4d65fea6
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ def SaveToTempDir(objects, seq_format='fasta', structure_format='pdb'):
file_names.append(name)
continue
if isinstance(obj, mol.EntityView) or isinstance(obj, mol.EntityHandle):
name=os.path.join(tmp_dir_name, tmp_dir_name, 'mol%02d.pdb' % (index+1))
name=os.path.join(tmp_dir_name, 'mol%02d.pdb' % (index+1))
io.SaveEntity(obj, name, structure_format)
file_names.append(name)
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment