Skip to content

Future waring in spec.py parser for numpy.vstack #51

@KennethNielsen

Description

@KennethNielsen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions