MCPcopy Create free account
hub / github.com/bcmi/OSInsert-Image-Composition / _parse_csv_floats

Function _parse_csv_floats

tests/test_os_insert.py:148–152  ·  view source on GitHub ↗
(s: str | None)

Source from the content-addressed store, hash-verified

146 return items if items else None
147
148 def _parse_csv_floats(s: str | None) -> list[float] | None:
149 items = _parse_csv_list(s)
150 if items is None:
151 return None
152 return [float(x) for x in items]
153
154 uniq_ids_arg = _parse_csv_list(args.uniq_ids)
155 split_ratios_arg = _parse_csv_floats(args.split_ratios)

Callers 1

mainFunction · 0.85

Calls 1

_parse_csv_listFunction · 0.85

Tested by

no test coverage detected