MCPcopy 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
2618def _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_annotFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected