Module Spyder :: Class PDBData
[hide private]
[frames] | no frames]

Class PDBData

source code

  object --+    
           |    
PDBInterface --+
               |
              PDBData

Spyder-generated class

module atom

file /home/sjoerd/Spyder-devel/atom/pdb.spy

Description

Data model to represent Protein Data Bank (PDB) data

This replaces PDBInterface's pdbfile with a pdbdata string,

allowing serialization without external dependencies

Wiki

http://www.spyderware.nl/wiki/classes/PDBData

Validate block

>>>            
if not (mode != "submit" or (pdbdata!= None and code == None)):
raise AtomValidationError("Please upload a PDB file, or select "Download" and provide a PDB code")
if not (mode != "download" or (pdbdata == None and code != None)):
raise AtomValidationError("Please provide a PDB code, or select "Submit" and upload a PDB file")               
>>>

Converters

Can be converted to:

Can be converted from:

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
*String pdbdata
Delete (pdbfile)
Delete (validate)
    Inherited from PDBInterface
*File_PDB pdbfile
String chain
*PDBCode code
String mode
Properties [hide private]

Inherited from object: __class__