We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52eceb2 commit 067130bCopy full SHA for 067130b
resources/generate_neuropixels_library.py
@@ -11,11 +11,14 @@
11
from probeinterface import write_probeinterface
12
13
14
-base_folder = Path("./neuropixels_library_generated")
+default_base_folder = Path("./neuropixels_library_generated")
15
16
17
18
-def generate_all_npx():
+def generate_all_npx(base_folder=None):
19
+
20
+ if base_folder is None:
21
+ base_folder = default_base_folder
22
23
# if not base_folder.exists():
24
base_folder.mkdir(exist_ok=True)
0 commit comments