Skip to content

Commit

Permalink
Pep8 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
frisograce committed Jul 16, 2024
1 parent 271d029 commit 766e369
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions simpa/core/device_digital_twins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ def update_settings_for_use_of_model_based_volume_creator(self, global_settings:
@abstractmethod
def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings: Settings):
"""
This method can be overwritten by a PA device if the device poses special constraints to the
volume that should be considered by the segmentation-based volume creator.
This method can be overwritten by a PA device if the device poses special constraints to the
volume that should be considered by the segmentation-based volume creator.
:param global_settings: Settings for the entire simulation pipeline.
:type global_settings: Settings
"""
:param global_settings: Settings for the entire simulation pipeline.
:type global_settings: Settings
"""

def get_field_of_view_mm(self) -> np.ndarray:
"""
Expand Down
2 changes: 1 addition & 1 deletion simpa/core/device_digital_twins/pa_devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def check_settings_prerequisites(self, global_settings) -> bool:
def update_settings_for_use_of_model_based_volume_creator(self, global_settings):
pass

def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings: Settings):
def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings):
pass

def serialize(self) -> dict:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def update_settings_for_use_of_model_based_volume_creator(self, global_settings)
})
volume_creator_settings[Tags.STRUCTURES][Tags.BACKGROUND] = background_settings

def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings: Settings,
def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings,
add_layers: list = [Tags.ADD_US_GEL,
Tags.ADD_MEDIPRENE,
Tags.ADD_HEAVY_WATER],
Expand Down

0 comments on commit 766e369

Please sign in to comment.