Menu

Commit [r27806]  Maximize  Restore  History

Bug fix for the frame order target function (introduced recently in r27715).

The copy.deepcopy() function is now used for all numpy input data to avoid the data from being
modified between function calls. This is important for missing RDC and PCS data which is sent in as
NaN values. In the target function __init__() method, the NaN values are replaced by 0.0 after the
self.missing_rdc and self.missing_pcs structures have been by checking for NaN values. However the
recent specific_analyses.frame_order.optimisation change in the Frame_order_minimise_command slave
command to printout the number of integration points resulted in the target function being
initialised twice, causing all NaN values to be 0.0 in the second initialisation. Hence all missing
data was being treated as real data with values of 0.0.

bugman 2015-03-12

changed /branches/frame_order_cleanup/target_functions/frame_order.py
/branches/frame_order_cleanup/target_functions/frame_order.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.