fixes before release
This commit is contained in:
+2
-2
@@ -776,8 +776,8 @@ def extract_metadata_worker(file_name):
|
||||
snirf_info['Short Channels'] = f"Likely - {names}"
|
||||
total_chans = len(raw.ch_names)
|
||||
pct_short = (len(names) / total_chans * 100) if total_chans else 0
|
||||
if pct_short > 25:
|
||||
snirf_info['Short Channels'] += "\n There are a lot of short channels. Optode distances are likely incorrect!"
|
||||
if pct_short > 35:
|
||||
snirf_info['Short Channels'] += "\n There are a lot of short channels. Perhaps the optode distances are incorrect?"
|
||||
except:
|
||||
snirf_info['Short Channels'] = "Unlikely"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user