Skip to content

Problem when converting Gro/Top to Rst7 #404

@msuruzhon

Description

@msuruzhon

Hello,

I have run into an issue when trying to load an alchemical system generated by a GROMACS run, squashing it and writing it out as an AMBER rst7 (writing out to GROMACS Gro is fine). This is the script I used for these inputs:

import BioSimSpace.Sandpit.Exscientia as BSS

system = BSS.IO.readMolecules(["gromacs.top", "gromacs_out.gro"])
squashed_system, _ = BSS.Align._squash._squash(system)
BSS.IO.saveMolecules("amber", squashed_system, "rst7")

The most comprehensive error message I managed to get was the following:

Failed to write the file <...> using the parser for fileformat 'RST7'. Errors reported by the parser are:
Errors converting the system to a Amber Rst7 format...
Could not write the float at index 126, value '-1039.54' into the specified format AmberFormat( 6 x float[width = 12, precision = 7] ). (call sire.error.get_last_error_details() for more info)

I hope it helps to investigate the issue. Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions