-
- Downloads
Use implicit configuration object creation
The old way of using the configuration file was by instantiating a Config object which read the file. This instance was passed to every function and object that might need it. The new way is by simply calling config.get('name') to get the configuration value for 'name'. This lazily reads the configuration file and the contents are cached for future calls. git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/implicit-config-branch@408 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
Showing
- bin/mutalyzer 2 additions, 4 deletionsbin/mutalyzer
- bin/mutalyzer-batchd 5 additions, 8 deletionsbin/mutalyzer-batchd
- bin/mutalyzer-cache-sync 3 additions, 5 deletionsbin/mutalyzer-cache-sync
- bin/mutalyzer-mapping-update 2 additions, 4 deletionsbin/mutalyzer-mapping-update
- bin/mutalyzer-webservice.wsgi 0 additions, 2 deletionsbin/mutalyzer-webservice.wsgi
- extras/log-tools/find-crashes.py 2 additions, 3 deletionsextras/log-tools/find-crashes.py
- mutalyzer/Db.py 13 additions, 22 deletionsmutalyzer/Db.py
- mutalyzer/File.py 7 additions, 22 deletionsmutalyzer/File.py
- mutalyzer/GenRecord.py 4 additions, 7 deletionsmutalyzer/GenRecord.py
- mutalyzer/Retriever.py 20 additions, 62 deletionsmutalyzer/Retriever.py
- mutalyzer/Scheduler.py 20 additions, 37 deletionsmutalyzer/Scheduler.py
- mutalyzer/config.py 83 additions, 65 deletionsmutalyzer/config.py
- mutalyzer/mapping.py 7 additions, 15 deletionsmutalyzer/mapping.py
- mutalyzer/mutator.py 12 additions, 19 deletionsmutalyzer/mutator.py
- mutalyzer/output.py 10 additions, 19 deletionsmutalyzer/output.py
- mutalyzer/parsers/genbank.py 3 additions, 9 deletionsmutalyzer/parsers/genbank.py
- mutalyzer/sync.py 4 additions, 8 deletionsmutalyzer/sync.py
- mutalyzer/util.py 32 additions, 11 deletionsmutalyzer/util.py
- mutalyzer/variantchecker.py 6 additions, 9 deletionsmutalyzer/variantchecker.py
- mutalyzer/webservice.py 46 additions, 47 deletionsmutalyzer/webservice.py
Loading
Please register or sign in to comment