瀏覽代碼

fixup: fix variable name typoed before

Yaroslav Halchenko 1 年之前
父節點
當前提交
d590719228
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ephys_neuropixel/rawdata/code/create_rawdata.py

+ 1 - 1
ephys_neuropixel/rawdata/code/create_rawdata.py

@@ -106,7 +106,7 @@ class BIDSGenerator(BEP032Data):
 
 if __name__ == '__main__':
     code_path = pathlib.Path(__file__).parent
-    for sub_path in codepath.glob('../sourcedata/sub-*'):
+    for sub_path in code_path.glob('../sourcedata/sub-*'):
         sub_id = sub_path.name.split('sub-')[-1]
         for ses_path in sub_path.glob('ses-*'):
             ses_id = ses_path.name.split('ses-')[-1]