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 6c804d1 commit 4ed07f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bliss/surveys/dc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ def _load_image_and_bg_files_list(self):

# record which tracts and patches
tracts = [str(file_name).split("/")[-3] for file_name in self._image_files[0]]
patches = [str(file_name).rsplit('-', maxsplit=1)[-1][:3] for file_name in self._image_files[0]] # TODO: check
patches = [
str(file_name).rsplit("-", maxsplit=1)[-1][:3] for file_name in self._image_files[0]
] # TODO: check
self._tract_patches = [x[0] + "_" + x[1] for x in zip(tracts, patches)] # TODO: hack

return n_image
Expand Down

0 comments on commit 4ed07f2

Please sign in to comment.