Skip to content

Commit

Permalink
fixed handler cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
colganwi committed Feb 5, 2024
1 parent d2596e6 commit bcae813
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cassiopeia/solver/ILPSolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ def solve(
infer_ancestral_characters=True
)

#logger.removeHandler(handler)
if logfile is not None:
logger.removeHandler(file_handler)
file_handler.close()

def infer_potential_graph(
self,
Expand Down

0 comments on commit bcae813

Please sign in to comment.