Skip to content

Commit

Permalink
Fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joselotl authored and eacharles committed Apr 2, 2024
1 parent c0d535f commit 8c9ad39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rail/evaluation/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def run(self):
"""

pz_data = self.get_data('input')
if self.config.hdf5_groupname:
try: #pragma: no cover
z_true = self.get_data('truth')[self.config.hdf5_groupname][self.config.redshift_col]
else:
except:
z_true = self.get_data('truth')[self.config.redshift_col]
zgrid = np.linspace(self.config.zmin, self.config.zmax, self.config.nzbins+1)

Expand Down

0 comments on commit 8c9ad39

Please sign in to comment.