File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ def _parse_header(self):
131131 self ._channel_slice = ids
132132 elif int (version ) > 20160704 :
133133 settings = h5file ["wells" ][stream_id ][self .rec_name ]["settings" ]
134- settings = h5file ["wells" ][well_name ][rec_name ]["settings" ]
135134 sr = settings ["sampling" ][0 ]
136135 if "lsb" in settings :
137136 gain_uV = settings ["lsb" ][0 ] * 1e6
@@ -143,7 +142,7 @@ def _parse_header(self):
143142 gain = settings ["gain" ][0 ]
144143 gain_uV = 3.3 / (1024 * gain ) * 1e6
145144 mapping = settings ["mapping" ]
146- sigs = h5file ["wells" ][well_name ][ rec_name ]["groups" ]["routed" ]["raw" ]
145+ sigs = h5file ["wells" ][stream_id ][ self . rec_name ]["groups" ]["routed" ]["raw" ]
147146
148147 channel_ids = np .array (mapping ["channel" ])
149148 electrode_ids = np .array (mapping ["electrode" ])
You can’t perform that action at this time.
0 commit comments