def test_load_mocap_data(self): dflow_data = DFlowData(self.path_to_mocap_data_file) raw_mocap_data = dflow_data._load_mocap_data() compare_data_frames(raw_mocap_data, self.mocap_data_frame, atol=1e-6) # TODO : Add some missing values into the HBM columns of # self.mocap_data_frame and make sure they get replaced with NaN. raw_mocap_data = dflow_data._load_mocap_data(ignore_hbm=True) expected = self.mocap_data_frame[self.mocap_labels_without_hbm] compare_data_frames(raw_mocap_data, expected, atol=1e-6)
def test_load_record_data(self): dflow_data = DFlowData(record_tsv_path=self.path_to_record_data_file) raw_record_data = dflow_data._load_record_data() compare_data_frames(raw_record_data, self.record_data_frame, atol=1e-6)