Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjorthmedh committed Dec 8, 2023
1 parent 5c4a383 commit 9fbcd9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions snudda/plotting/plot_synapse_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def get_synapse_neighbours(self, neuron_id, input_name,
repeats=len(input_soma_distance),
axis=0)

# !!! TODO: Work in progress

# Then in the parent section

Expand Down
6 changes: 4 additions & 2 deletions snudda/simulate/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1956,8 +1956,10 @@ def clear_neuron(self):
for sec in h.allsec():
h.delete_section(sec=sec)

import gc
gc.collect()
if sys.meta_path:
# If sys.meta_path is None, then python is shutting down and this is redundant
import gc
gc.collect()

############################################################################

Expand Down

0 comments on commit 9fbcd9b

Please sign in to comment.