You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Future waring in spec.py parser for numpy.vstack #51
When running the tests, the following warning appears:
/home/kenneth/venv/PyExpLabSys/PyExpLabSys/file_parsers/specs.py:507: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.
vstack = np.vstack(self.iter_scans)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Activity
KennethNielsen commentedon Nov 10, 2022
I think it should be simple enough to fix, most likely changing the line to:
but I'd rather not do it without the ability to test it live.