Skip to content

Commit

Permalink
linting again
Browse files Browse the repository at this point in the history
  • Loading branch information
sjfleming committed Jan 17, 2025
1 parent 481e83a commit 18bd7a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cellarium/ml/callbacks/prediction_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,4 @@ def write_on_batch_end(
if self.sufficient_disk_space_exists is None:
self.sufficient_disk_space_exists = self.check_disk_space(num_files=trainer.num_predict_batches[0])
if self.sufficient_disk_space_exists is False:
raise RuntimeError(
f"Insufficient disk space at {self.output_dir} to write all predictions"
)
raise RuntimeError(f"Insufficient disk space at {self.output_dir} to write all predictions")

0 comments on commit 18bd7a5

Please sign in to comment.