ccpn.framework.lib.ccpnNmrStarIo package¶
Submodules¶
ccpn.framework.lib.ccpnNmrStarIo.CcpnNmrStarReader module¶
Module to manage Star files in ccpn context
- class ccpn.framework.lib.ccpnNmrStarIo.CcpnNmrStarReader.CcpnNmrStarReader[source]¶
Bases:
object
Class to read/parse and import (bmrb) NmrStar files
- property dataBlock¶
- None, immutable - :return the NmrDataBlock or None, depending if a file has been parsed
- importIntoProject(project) list [source]¶
Import the data of the saveFrame’s of self into project :param project: A Project instance :return A list of imported V3 objects
- parse(path, mode='standard') ccpn.util.nef.StarIo.NmrDataBlock [source]¶
- Parameters
path – path of the star-file to parse
mode – parsing mode: any of (‘lenient’, ‘strict’, ‘standard’, ‘IUCr’)
:return The parsed data as an NmrDataBlock instance
ccpn.framework.lib.ccpnNmrStarIo.ChemicalShiftSaveFrame module¶
Module to manage Star files in ccpn context
- class ccpn.framework.lib.ccpnNmrStarIo.ChemicalShiftSaveFrame.ChemicalShiftSaveFrame(parent, *args, **kwds)[source]¶
Bases:
ccpn.framework.lib.ccpnNmrStarIo.SaveFrameABC.SaveFrameABC
A class to manage chemicalShift saveFrame
- property chemicalShifts: list¶
- list, immutable - :return a list of chemical shift LoopRow’s
ccpn.framework.lib.ccpnNmrStarIo.SaveFrameABC module¶
Module to manage Star files in ccpn context
- class ccpn.framework.lib.ccpnNmrStarIo.SaveFrameABC.SaveFrameABC(parent, *args, **kwds)[source]¶
Bases:
ccpn.util.nef.StarIo.NmrSaveFrame
A class to manage; i.e. register the various saveFrames
- property entry_id: str¶
- str, immutable - :return the entry-Id as a str
- importIntoProject(project) list [source]¶
Import the data of self into project. Needs subclassing :param project: a Project instance :return list of imported V3 objects
- classmethod newFromSaveFrame(parent, saveFrame: ccpn.util.nef.StarIo.NmrSaveFrame)[source]¶
return an instance, updated with the data from saveFrame
- property parent¶
- None, immutable -