blob: bd0c07b5a5f423676d22a8a9bc8bd6fc85b0516e (
plain)
1
2
3
4
5
6
|
"""General utilities for processing R/qtl(2)-related data."""
def parse_missing_values_symbols(value: str) -> list[str]:
"""Parse a whitespace- and/or comma-separated list of unique symbols."""
return list(dict.fromkeys(value.replace(",", " ").split()))
|