From 00387b0b34b21cafb370917fd466e7aa8434f517 Mon Sep 17 00:00:00 2001 From: acse-pms122 Date: Wed, 24 Jan 2024 19:10:27 +0100 Subject: [PATCH] fix black error --- .gitignore | 3 ++- seathru/seathru_field.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cfc8755..d03b55f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ data/* outputs/* seathru_nerf.egg-info/* -.vscode/* \ No newline at end of file +.vscode/* +**/__pycache__/* \ No newline at end of file diff --git a/seathru/seathru_field.py b/seathru/seathru_field.py index ce86364..f5e2a37 100644 --- a/seathru/seathru_field.py +++ b/seathru/seathru_field.py @@ -186,7 +186,7 @@ def get_density(self, ray_samples: RaySamples) -> Tuple[Tensor, Tensor]: density = density * selector[..., None] return density, bottleneck_vector - def get_outputs( # type: ignore + def get_outputs( # type: ignore self, ray_samples: RaySamples, density_embedding: Optional[Tensor] = None ) -> Dict[SeathruHeadNames, Tensor]: """Compute outputs of object and medium networks (except object density).