NullHandler
(level=0)[source]¶Bases: logging.Handler
ResultsSummary
(results=None, results_pkl=None)[source]¶Bases: object
Summarise the results for a series of MRBUMP runs
checkSuccess
(script_path)[source]¶Check if a job ran successfully.
Parameters: | script_path (str) – Path to the MrBUMP script |
---|---|
Returns: | True if success |
Return type: | bool |
Notes
Success is assumed as a SHELX CC score of >= SHELXSUCCESS
purge_MRBUMP
(amoptd)[source]¶Remove as much as possible from a MRBUMP directory whilst keeping valid results
set_success_criteria
(amoptd)[source]¶Set the module-level success criteria from an AMPLE job dictionary
unfinished_scripts
(amoptd)[source]¶See if there are any unfinished mrbump jobs in a mrbump directory and return a list of the scripts
write_jobscript
(name, keyword_file, amoptd, directory=None, job_time=86400, extra_options={})[source]¶Create the script to run MrBump for this PDB.
write_mrbump_files
(ensemble_pdbs, amoptd, job_time=172800, ensemble_options=None, directory=None)[source]¶Write the MRBUMP job files for all the ensembles.
Arguments: ensemble_pdbs – list of the ensembles, each a single pdb file. amoptd – dictionary with job options. job_time – maximum permissible runtime (mainly used for batch queueing systems). ensemble_options – dictionary with ensemble-specific keywords e.g. ensemble_options[ensemble_name] = {‘ncopies’ : ncopies} directory – working directory to write files to.