Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
flaport committed Mar 7, 2024
1 parent 906b7d4 commit 79a09e9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cspdk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,17 @@ def _straight(
loss: float = 0.0,
cross_section="xs_sc",
):
print(cross_section)
if _check_cross_section(cross_section) == "xs_sc":
print("straight_sc")
return straight_sc(wl=wl, length=length, loss=loss)
elif _check_cross_section(cross_section) == "xs_so":
print("straight_so")
return straight_so(wl=wl, length=length, loss=loss)
elif _check_cross_section(cross_section) == "xs_rc":
print("straight_rc")
return straight_rc(wl=wl, length=length, loss=loss)
elif _check_cross_section(cross_section) == "xs_ro":
print("straight_ro")
return straight_ro(wl=wl, length=length, loss=loss)
elif _check_cross_section(cross_section) == "xs_nc":
print("straight_nc")
return straight_nc(wl=wl, length=length, loss=loss)
elif _check_cross_section(cross_section) == "xs_no":
print("straight_no")
return straight_no(wl=wl, length=length, loss=loss)
else:
raise ValueError(f"Invalid cross section: Got: {cross_section}")
Expand Down

0 comments on commit 79a09e9

Please sign in to comment.