ryjmacdonell / gimbal

Properties and transformations of 3D molecular geometries
MIT License
0 stars 1 forks source link

Auto formatting #14

Closed ryjmacdonell closed 7 years ago

ryjmacdonell commented 7 years ago

Automatically assign a geometry format based on the filename (e.g. .xyz, .zmt). Alternatively, attempt to parse the input with different formats. Can set fmt='auto' as the default.

Output should be similar: based on the provided filename (or on the format of the input?).

ryjmacdonell commented 7 years ago

Input auto formatting: Is there an 'natm' line? Is there a comment line? Where are the strings located? How many elements per line? Need to distinguish int vs. float vs. str for each item to recognize pattern.

Output auto formatting: By filename extension (.xyz, .col, .columbus, .zmt, .zmat, .dat; default: xyz).