Skip to content

Commit

Permalink
Updating ablate
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjorthmedh committed Nov 7, 2023
1 parent 542e3d2 commit 478dcc7
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 1 deletion.

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion examples/parallel/KTH_PDC/lateral_inhibition/ablate_network.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import os
import sys

network_path="networks/lateral_1"
if len(sys.argv) > 1:
network_path = sys.argv[1]
else:
sys.exit("No network path specified!")
network_path="networks/lateral_1"

modified_network_file=os.path.join(network_path, "network-synapses-minimal.hdf5")

print(f"Network_path = {network_path}, modified file = {modified_network_file}")

from snudda.utils.ablate_network import SnuddaAblateNetwork

ab = SnuddaAblateNetwork(network_file=network_path)
Expand Down

0 comments on commit 478dcc7

Please sign in to comment.