allpy
view README.devel @ 645:88c246f20918
Fixed monomer pickling to avoid name clashes. This breaks pickle backwards-compatiblity! [see #35]
Previosly all monomer classes were stored a single namespace,
allpy.data.monomers. This caused a few name clashes, which were mostly
resolved, and one name clash, that was not. (This caused one class to be named
differently depending on the order in which modules were loaded).
Now, instead of one allpy.data.monomers module we have allpy.data.monomers
package with modules dna, rna, protein. This ensures that all name clashes are
resolved uniformly upon any sequence of modules loading.
This may also help in future to keep backward-compatibility longer in case we
replace dynaminc monomer class creation with storing the classes in the module -
if we want to retain independent loading of dna/rna/protein parts.
author | Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru> |
---|---|
date | Wed, 08 Jun 2011 21:31:02 +0400 |
parents | b87eb91bd929 |
children |
line source
1 Using library in-place
2 ======================
4 To use the library in-place, without installing, you have to add it's
5 directory to PYTHONPATH.
7 e.g, type this in your shell::
9 export PYTHONPATH=`pwd`
11 alternatively, you can type::
13 . ./SETPATH
15 which adds the right path to PYTHONPATH and also adds 'utils' directory
16 to PATH.
18 NEWS file
19 =========
21 NEWS file contains news that are important to the library users, not to the
22 devels. It must contain a word abot every change in any interfaces. It may
23 contain a word about bugfix, if that bugfix was important and could cause users
24 some grief. It must not contain anything else.
26 The file grows upwards (like blog, so that all the most important things are at
27 the top, like)
29 Example file format::
31 1.3.1 (2011-05-01)
32 * bugfix: the Moon was going to fall
34 1.3.0 (2011-04-15)
36 * new: new feature description
37 * new: new feature description
38 * change(!): critical library interface change
39 * change: change in the library interface
40 * bugfix: short bug summary, see #ticket
41 * bugfix: important bug that could destroy the Earth but did not hit trac