This module defines functions for logging in files, configuring ProDy, and running tests.
Configure ProDy.
Option | Default (acceptable values) |
---|---|
auto_secondary | False |
auto_show | True |
backup | False |
backup_ext | ‘.BAK’ |
check_updates | 0 |
ligand_xml_save | False |
local_pdb_folder | ‘’ See also pathPDBFolder(). |
pdb_mirror_path | ‘’ See also pathPDBMirror(). |
selection_warning | True |
typo_warnings | True |
verbosity | ‘debug’ (‘critical’, ‘debug’, ‘error’, ‘info’, ‘none’, or ‘warning’) |
Usage example:
confProDy('backup')
confProDy('backup', 'backup_ext')
confProDy(backup=True, backup_ext='.bak')
confProDy(backup_ext='.BAK')
Check PyPI to see if there is a newer ProDy version available. Setting ProDy configuration parameter check_updates to a positive integer will make ProDy automatically check updates, e.g.:
confProDy(check_updates=7) # check at most once a week
confProDy(check_updates=0) # do not auto check updates
confProDy(check_updates=-1) # check at the start of every session
Start a logfile. If filename does not have an extension. .log will be appended to it.
Parameters: |
|
---|