def test_add_mni_coords(self, subject, montage, data_type, rhino_root): montage = MontageReader(data_type, subject=subject, montage=montage, rootdir=rhino_root).as_dataframe() assert 'mni.x' in montage.columns
def pairs_reader(): path = resource_filename("cmlreaders.test.data", "R1006P_pairs.json") mr = MontageReader("pairs", "R1006P", file_path=path) yield mr mr.clear_cache() BaseCMLReader._instances.clear()