Download tests/conftest.py from SID2000/cortexlab: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/SID2000/cortexlab/resolve/main/tests/conftest.py
- Command line
-
hf download hf://SID2000/cortexlab/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/SID2000/cortexlab/resolve/main/tests/conftest.py
241 Bytes
| """Shared test utilities.""" | |
| import neuralset.segments as seg | |
| def make_segments(n): | |
| """Create n dummy segments for SegmentData construction.""" | |
| return [seg.Segment(start=float(i), duration=1.0, timeline="test") for i in range(n)] | |