Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend 3c transforms #516

Merged
merged 8 commits into from
Feb 27, 2024
Prev Previous commit
Next Next commit
Change ValueError to TypeError to match decorators
  • Loading branch information
pavlis committed Feb 27, 2024
commit a36ff4561a1e645bc9d164e7e8c5afc2308f856d
6 changes: 3 additions & 3 deletions python/mspasspy/algorithms/basic.py
Original file line number Diff line number Diff line change
@@ -453,7 +453,7 @@ def free_surface_transformation(
)
)
message += "Must be either a Seismogram or SeismogramEnsemble"
raise ValueError(message)
raise TypeError(message)
return data


@@ -618,7 +618,7 @@ def transform_to_RTZ(
type(data)
)
message += "Must be either a Seismogram or SeismogramEnsemble"
raise ValueError(message)
raise TypeError(message)
return data


@@ -789,7 +789,7 @@ def transform_to_LQT(
type(data)
)
message += "Must be either a Seismogram or SeismogramEnsemble"
raise ValueError(message)
raise TypeError(message)
return data