StructureDataConverter

class sknano.io.StructureDataConverter(infile=None, outfile=None, **kwargs)[source] [edit on github][source]

Bases: sknano.core.meta.BaseClass

Abstract base class for converting structure data.

Parameters:
  • infile (str) –
  • outfile (str) –

Attributes

fmtstr Format string.

Methods

convert() Convert structure data from one format to another format.
todict() Return dict of constructor parameters.

Methods Summary

convert() Convert structure data from one format to another format.
todict() Return dict of constructor parameters.

Methods Documentation

convert()[source] [edit on github][source]

Convert structure data from one format to another format.

todict()[source] [edit on github][source]

Return dict of constructor parameters.