Skip to content

Commit

Permalink
Remove augmented mesh when not needed anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophSchranz committed May 3, 2020
1 parent 33c5cf8 commit d66217e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MeshTweaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def __init__(self, content, extended_mode=False, verbose=True,
t_lit = time()
progress = self.print_progress(progress)

# Remove the mesh structure as soon as it is not used anymore
del self.mesh

# evaluate the best alignments and calculate the rotation parameters
results = np.array(results)
best_results = list(results[results[:, 4].argsort()]) # [:5]] # previously, the best 5 alignments were stored
Expand Down

0 comments on commit d66217e

Please sign in to comment.