Skip to content

Commit

Permalink
remove print.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkalmbach committed Nov 15, 2023
1 parent 121d59e commit 12cb5c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/lsst/ts/imsim/opd_metrology.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def set_wgt_and_field_xy_of_gq(self, inst_name: str) -> None:
camera = get_camera(inst_name)
if inst_name == "lsstfam":
self.sensor_ids = np.arange(189)
elif inst_name == 'comcam':
elif inst_name == "comcam":
self.sensor_ids = np.arange(9)
else:
raise ValueError(f"Instrument {inst_name} is not supported in OPD mode.")
Expand Down Expand Up @@ -353,7 +353,6 @@ def calc_gq_value(self, value_list: list[float] | np.ndarray) -> float:
ValueError
Length of wt ratio != length of value list.
"""
print(self.wt, value_list)
# Check the lengths of weighting ratio and value list are the same
if len(self.wt) != len(value_list):
raise ValueError("Length of wt ratio != length of value list.")
Expand Down

0 comments on commit 12cb5c9

Please sign in to comment.