Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
declanmcnamara committed Feb 3, 2025
1 parent d14b7b0 commit 9c214db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion case_studies/redshift/artifacts/redshift_dc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def prepare_data(self): # noqa: WPS324

return None

def generate_cached_data(self, naming_info: tuple):
def generate_cached_data(self, naming_info: tuple): # pylint: disable=W0237,R0801
image_index, patch_name = naming_info
result_dict = self.load_image_and_catalog(image_index)

Expand Down
3 changes: 1 addition & 2 deletions case_studies/weak_lensing/lensing_dc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ def load_image_and_catalog(self, image_index):
}

# override generate_cached_data
def generate_cached_data(self, naming_info):
image_index, _ = naming_info
def generate_cached_data(self, image_index):
result_dict = self.load_image_and_catalog(image_index)

image = result_dict["inputs"]["image"]
Expand Down

0 comments on commit 9c214db

Please sign in to comment.