Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mne-tools/mne-python
/ _write_annot_str
Function
_write_annot_str
mne/label.py:2618–2621 ·
view source on GitHub ↗
(fid, s)
Source
from the content-addressed store, hash-verified
2616
2617
2618
def
_write_annot_str(fid, s):
2619
s = s.encode(
"ascii"
) + b
"\x00"
2620
np.array(len(s),
">i4"
).tofile(fid)
2621
fid.write(s)
2622
2623
2624
@verbose
Callers
1
_write_annot
Function · 0.85
Calls
1
write
Method · 0.80
Tested by
no test coverage detected