Skip to content

Commit

Permalink
if for 'fixed_files' removed
Browse files Browse the repository at this point in the history
  • Loading branch information
karolamik13 committed Nov 13, 2024
1 parent 5450f8c commit 1ec47c5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3733,11 +3733,10 @@ def calcSignatureInteractions(mapping_file, PDB_folder, **kwargs):

# Remove all fixed files at the end
if remove_tmp_files == True:
if 'fixed_files' in locals():
for fixed_file in fixed_files:
if os.path.exists(fixed_file):
os.remove(fixed_file)
log_message("Removed fixed file: {}".format(fixed_file))
for fixed_file in fixed_files:
if os.path.exists(fixed_file):
os.remove(fixed_file)
log_message("Removed fixed file: {}".format(fixed_file))



Expand Down

0 comments on commit 1ec47c5

Please sign in to comment.