diff --git a/sohstationviewer/view/plotting/gps_plot/extract_gps_data.py b/sohstationviewer/view/plotting/gps_plot/extract_gps_data.py index daf859445e136b43eb58ae121f3a6ac91ac3617b..8950c1c3999fb628cbdde3fffaf0ff8b0b1048b0 100644 --- a/sohstationviewer/view/plotting/gps_plot/extract_gps_data.py +++ b/sohstationviewer/view/plotting/gps_plot/extract_gps_data.py @@ -449,7 +449,8 @@ def gps_data_mseed(data_obj: MSeed) -> List[GPSPoint]: gps_data = extract_gps_data_q330(data_obj) except KeyError: try: - gps_data = extract_gps_data_pegasus_centaur(data_obj, data_type) + gps_data = extract_gps_data_pegasus_centaur( + data_obj, data_type) except AttributeError: return [] return gps_data