Skip to content

Gaussian Cube File Shape #260

@Ali-Tehrani

Description

@Ali-Tehrani

Working with proteins generates Gaussian cube files that are in angstrom. In particular, the pdb2pqr tool "dx2cube" converts the volumetric data from an electrostatic calculation into a Gaussian cube file.

This reports the shape in negative numbers, because it is in Angstrom. See the Gaussian cubegen documentation here:

Image

This results in a error using Grid.cubic.UniformGrid.readcube because it assumes the shape is positive.
The easy fix is to take the absolute value of the shape, but I think it's important to return a flag indicating what units Bohr or Angstrom it is in.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions