Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unsafe loading from file buffer (#58)
* Fix unsafe loading from file buffer The numpy documentation states for numpy.frombuffer` that: > This function creates a view into the original object. > This should be safe in general, but it may make sense to copy > the result when the original object is mutable or untrusted. When the filebuffer is mutable a `ValueError: output array is read-only` is raised in: https://github.com/eyurtsev/fcsparser/blob/701000af178e36e0dedb53d409119c25675b9d16/fcsparser/api.py#L590 * Update pyproject.toml --------- Co-authored-by: Eugene Yurtsev <[email protected]>
- Loading branch information