From c3870589b3977e30aabb70ee39ad30c7d0dbdef7 Mon Sep 17 00:00:00 2001 From: Nicolas Tessore Date: Thu, 20 Jul 2023 14:09:30 +0100 Subject: [PATCH] BUG: fix stray print statement --- .pre-commit-config.yaml | 4 +++- glass/galaxies.py | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63486184..1b001646 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,4 +2,6 @@ repos: - repo: https://github.com/pycqa/flake8 rev: 4.0.1 hooks: - - id: flake8 \ No newline at end of file + - id: flake8 + additional_dependencies: + - flake8-print diff --git a/glass/galaxies.py b/glass/galaxies.py index 124e3bf0..ac427327 100644 --- a/glass/galaxies.py +++ b/glass/galaxies.py @@ -204,8 +204,6 @@ def gaussian_phz(z: ArrayLike, sigma_0: float | ArrayLike, *, zphot = rng.normal(z, sigma) - print(zphot) - if lower is None: lower = 0. if upper is None: