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 0336778 commit d14b7b0
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions case_studies/redshift/artifacts/redshift_dc2.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@

import logging
import multiprocessing
import pathlib
from pathlib import Path



import torch

from bliss.surveys.dc2 import DC2DataModule, map_nested_dicts, split_list, unpack_dict, split_tensor
from bliss.surveys.dc2 import DC2DataModule, map_nested_dicts, split_list, split_tensor, unpack_dict


class RedshiftDC2DataModule(DC2DataModule):
Expand All @@ -19,10 +16,7 @@ def __init__(
*args,
**kwargs,
):
super().__init__(
*args,
**kwargs
)
super().__init__(*args, **kwargs)

self.dc2_image_dir = Path(self.dc2_image_dir)
self.dc2_cat_path = Path(self.dc2_cat_path)
Expand Down Expand Up @@ -159,5 +153,3 @@ def generate_cached_data(self, naming_info: tuple):
with open(cached_data_file_path, "wb") as cached_data_file:
torch.save(tmp_data_cached, cached_data_file)
data_count += 1


0 comments on commit d14b7b0

Please sign in to comment.