From ca2763972f2fd65d0857d02d6f82d26ad3601e65 Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Fri, 20 Jul 2018 14:56:44 +0200 Subject: [PATCH] Remove useless extra re-join of abs. path. --- modules/bindings/pymod/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bindings/pymod/utils.py b/modules/bindings/pymod/utils.py index 02edd598f..e476d04a9 100644 --- a/modules/bindings/pymod/utils.py +++ b/modules/bindings/pymod/utils.py @@ -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 -- GitLab