Skip to content

How to use information in topology files #942

@kain88-de

Description

@kain88-de

It has come up in #941 and #815 that we do have a problem with abstracting the away the differences between topology formats because they save different information. There are in two types of problems

1. Set of common properties
In #815 I noticed that I right now write code under the assumption that a field like masses is always available even if they are not specified in the topology (eg PDB). While the new topology system only provides data actually present in the topology.

2. properties specific to a format
In #941 @jbarnoud noted that he would like to make all information in a topology available to the user. This means going away from being completely format independent.

To me this suggests that we need to make a list of properties that are always available independent of the format and a special property under which we can add format specific properties like so: ag.special.format_properties.

What do others think for this? Should we have properties like masses, charges always available with a guess function for some format?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions