Skip to content

Commit

Permalink
Turn off cleanup in NmrUtils, and document danger of cleanup when Wor…
Browse files Browse the repository at this point in the history
…kingPath is set
  • Loading branch information
Ezra Peisach committed Nov 15, 2024
1 parent 1064e03 commit fa31fd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wwpdb/utils/wf/plugins/NmrUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class NmrUtils(UtilsBase):

def __init__(self, verbose=False, log=sys.stderr):
super(NmrUtils, self).__init__(verbose, log)
self.__cleanUp = True
# Be careful before setting self.__cleanUp, WorkingDirPath is in use - and cleanup removes that - which might not be appropriate
self.__cleanUp = False
"""Flag to remove any temporary directories created by this class.
"""
#
Expand Down
1 change: 1 addition & 0 deletions wwpdb/utils/wf/plugins/PrdSearchUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class PrdSearchUtils(UtilsBase):

def __init__(self, verbose=False, log=sys.stderr):
super(PrdSearchUtils, self).__init__(verbose, log)
# Be careful before setting self.__cleanUp, WorkingDirPath is in use - and cleanup removes that
self.__cleanUp = False
"""Flag to remove any temporary directories created by this class.
"""
Expand Down

0 comments on commit fa31fd0

Please sign in to comment.