def get_features(self):

        if not hasattr(self, '_features'):
            mask_nz = self.input.mask_nz
            mask_nnz = self.input.mask_nnz
            features = np.zeros((mask_nnz, 5), dtype=np.float32)

            # image intensity
            features[:, 0] = (
                self.input.image_irg[mask_nz[0], mask_nz[1], 0] /
                self.params.theta_l)

            # image chromaticity
            features[:, 1] = (
                self.input.image_irg[mask_nz[0], mask_nz[1], 1] /
                self.params.theta_c)
            features[:, 2] = (
                self.input.image_irg[mask_nz[0], mask_nz[1], 2] /
                self.params.theta_c)

            # pixel location
            features[:, 3] = (
                mask_nz[0] / (self.params.theta_p * self.input.diag))
            features[:, 4] = (
                mask_nz[1] / (self.params.theta_p * self.input.diag))

            self._features = features
            self._features.setflags(write=False)

        return self._features
Establish that the version command gives a nice error in cases
dataset/ETHPy150Open seanbell/intrinsic/bell2014/energy/energy.py/IntrinsicEnergy.get_features--crossover with--dataset/ETHPy150Open ansible/tower-cli/tests/test_commands_version.py/VersionTests.test_cannot_connect