allpy
diff allpy/dna.py @ 244:6507cd6808c7
allpy: monomers completed
_monomers.py -- provate module for monomers
other modules imports MonomerType's descendant from _monomer
and inherit from Monomer type
thre are some problems with Monomer -- MonomerType links
author | boris <bnagaev@gmail.com> |
---|---|
date | Fri, 03 Dec 2010 23:24:43 +0300 |
parents | 12b97ab5cdc7 |
children | 353379082202 |
line diff
1.1 --- a/allpy/dna.py Fri Dec 03 22:57:37 2010 +0300 1.2 +++ b/allpy/dna.py Fri Dec 03 23:24:43 2010 +0300 1.3 @@ -1,12 +1,11 @@ 1.4 import base 1.5 +import _monomer 1.6 1.7 class Sequence(base.Sequence): 1.8 """ """ 1.9 pass 1.10 1.11 -class MonomerType(base.MonomerType): 1.12 - """ """ 1.13 - pass 1.14 +MonomerType = _monomer.DNAType 1.15 1.16 class Monomer(base.Monomer): 1.17 """ """