allpy
view .hgignore @ 778:9e0e0fb4908c
replace pdb_getter functions with functors
download_pdb and cached_download_pdb are now instances
of functor classes.
Arguments can be passed into construstor of functor:
my_pdb_getter = CachedDownloadPdb(cache_dir='/tmp')
sequence.auto_pdb(pdb_getter=my_pdb_getter)
| author | boris (kodomo) <bnagaev@gmail.com> |
|---|---|
| date | Tue, 12 Jul 2011 22:25:52 +0400 |
| parents | cf1657b94c96 |
| children | 813679b6c514 |
