Skip to content

missing test for LAMMPS DumpReader for ValueError when missing coordinates #5127

@orbeckst

Description

@orbeckst

The case when no coordinates following the specified convention in the Timestep are found and a ValueError is raised, is not tested:

elif not self.lammps_coordinate_convention in convention_to_col_ix:
raise ValueError(
f"No coordinates following convention "
"{self.lammps_coordinate_convention} found in "
"timestep"
)

(The incorrect f-string use is fixed in #5053 but a test is still missing.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions