Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions resources/generate_neuropixels_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
from probeinterface import write_probeinterface


base_folder = Path("./neuropixels_library_generated")
default_base_folder = Path("./neuropixels_library_generated")



def generate_all_npx():
def generate_all_npx(base_folder=None):

if base_folder is None:
base_folder = default_base_folder

# if not base_folder.exists():
base_folder.mkdir(exist_ok=True)
Expand Down
Loading