Whitespace-tolerant float list parser for inline mesh attributes.
(s: str)
| 109 | |
| 110 | |
| 111 | def _parse_floats(s: str) -> list: |
| 112 | """Whitespace-tolerant float list parser for inline mesh attributes.""" |
| 113 | return [float(t) for t in s.replace(",", " ").split() if t] |
| 114 | |
| 115 | |
| 116 | # Asset elements whose ``file=`` attribute is a path that must stay resolvable |
no outgoing calls
no test coverage detected