def METHOD_NAME(self, labels, wanted):
    with open(self.filenames["out_file"]) as output:
        got = [line.split() for line in output]
        labels_got = got.pop(0)  # remove header
        assert labels_got == labels
        assert len(got) == self.fake_fmri_data.shape[3], "num rows and num volumes"
        # convert from string to float
        got = [[float(num) for num in row] for row in got]
        for i, time in enumerate(got):
            assert len(labels) == len(time)
            for j, segment in enumerate(time):
                npt.assert_almost_equal(segment, wanted[i][j], decimal=1)