Skip to content

Commit

Permalink
Fix #97
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas committed Mar 8, 2024
1 parent 7a7e070 commit 1196ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bloom/bloom/domain/vessels/vessel_trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def mpas(self) -> []:
if hasattr(self, "_mpas"):
return self._mpas
return None

@mpas.setter
def mpas(self, value:[])->None:
self._mpas = value
Expand Down Expand Up @@ -125,7 +125,7 @@ def query(
assert len(filtered_data) > 0
filtered_vessel = VesselTrajectory(self.metadata, filtered_data.copy())

filtered_vessel.mpas(self.mpas())
filtered_vessel.mpas = self.mpas

filtered_vessel.positions.index = filtered_data.index

Expand Down

0 comments on commit 1196ec6

Please sign in to comment.