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

Class PDBCode

source code

object --+            
         |            
basestring --+        
             |        
           str --+    
                 |    
            String --+
                     |
                    PDBCode

Spyder-generated class

module atom

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

Wiki

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

Validate block

>>>            
if len(self) != 4 or not self[0].isdigit() or not self[1:].isalnum(): 
raise AtomValidationError("Invalid PDB code %s" % self)               
>>>
Instance Methods [hide private]

Inherited from str: __add__, __contains__, __eq__, __format__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __repr__, __rmod__, __rmul__, __sizeof__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, format, index, isalnum, isalpha, isdigit, islower, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from str (private): _formatter_field_name_split, _formatter_parser

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

    Inherited from String
a new object with type S, a subtype of T
__new__(self, s) source code
 
__print__(self, spaces, mode)
Called by the pretty-print function of Spyder classes that have String members For internal use only
source code
 
__validate__(self) source code
 
convert(self, targettype) source code
 
dict(self)
Called by the dict function of Spyder classes...
source code
 
tofile(self, *args, **kargs) source code
 
totempfile(self, *args, **kargs) source code
Class Methods [hide private]
    Inherited from String
 
fromfile(c, *args, **kargs) source code
Static Methods [hide private]
    Inherited from String
 
typename() source code
Properties [hide private]

Inherited from object: __class__