File: read_from_stdin.py

package info (click to toggle)
python-dnaio 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 524 kB
  • sloc: python: 2,726; ansic: 164; sh: 28; makefile: 15
file content (8 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
"""Test helper script that reads from stdin"""

import dnaio

if __name__ == "__main__":
    with dnaio.open("-") as f:
        records = list(f)
    print(len(records))