summaryrefslogtreecommitdiff
path: root/lib/dfatool.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-08-16 11:24:34 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-08-16 11:24:34 +0200
commitc1b9509b588412b8045f5d838bf8c6bca0fa9b77 (patch)
tree7222935694b8be94d0cf2ae41c08e82a872e52be /lib/dfatool.py
parentf619692a4601cdb13a45f47c988d76563a16ba0d (diff)
optionally prune dependent parameters before analysis
Diffstat (limited to 'lib/dfatool.py')
-rwxr-xr-xlib/dfatool.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index 528eabc..8990aed 100755
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -1014,6 +1014,7 @@ def _try_fits(by_param, state_or_tran, model_attribute, param_index, safe_functi
if not len(ref_results['mean']):
# Insufficient data for fitting
+ #print('[W] Insufficient data for fitting {}/{}/{}'.format(state_or_tran, model_attribute, param_index))
return {
'best' : None,
'best_rmsd' : np.inf,
@@ -1089,7 +1090,7 @@ def get_fit_result(results, name, attribute, verbose = False):
this_result['mean_rmsd'], this_result['median_rmsd']))
# See notes on depends_on_param
elif this_result['best_rmsd'] >= 0.8 * min(this_result['mean_rmsd'], this_result['median_rmsd']):
- vprint(verbose, '[I] Not modeling {} {} as function of {}: best ({:.0f}) is not much better than ({:.0f}, {:.0f})'.format(
+ vprint(verbose, '[I] Not modeling {} {} as function of {}: best ({:.0f}) is not much better than ref ({:.0f}, {:.0f})'.format(
name, attribute, result['key'][2], this_result['best_rmsd'],
this_result['mean_rmsd'], this_result['median_rmsd']))
else: