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

Class LabeledRange

source code

object --+    
         |    
     Range --+
             |
            LabeledRange

Spyder-generated class

module atom

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

Description

Data model to specify protein residue ranges, consisting of start, end and chain

Wiki

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

Validate block

>>>            
if chain != None: assert chain in ("All", "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z")               
>>>

Form block

>>>            
OPTION chain "All", "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"
TYPE chain required
chain Chain               
>>>
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 chain
    Inherited from Range
Integer end
Integer start
Properties [hide private]

Inherited from object: __class__