Skip to content

Commit

Permalink
Update datasets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeyiasemis authored May 11, 2022
1 parent 8ba3952 commit 11d203d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion direct/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def parse_filenames_data(self, filenames):
current_slice_number = 0
for idx, filename in enumerate(filenames):
if len(filenames) < 5 or idx % (len(filenames) // 5) == 0 or len(filenames) == (idx + 1):
# pylint disable=logging-fstring-interpolation
# pylint: disable=logging-fstring-interpolation
self.logger.info(f"Parsing: {(idx + 1) / len(filenames) * 100:.2f}%.")

num_slices = self.spatial_shape[0] if len(self.spatial_shape) == 3 else 1
Expand Down

0 comments on commit 11d203d

Please sign in to comment.