Skip to content

Commit

Permalink
Merge branch 'feature/v0.2.6' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Dec 25, 2024
2 parents 79caf87 + 5c932c7 commit 743f35c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions colour_hdri/network/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,8 +1013,8 @@ def process(self, **kwargs: Any) -> None:
"output",
list(
zip(
self.nodes["ParallelForMultiprocess"].get_output("results"),
self.nodes["GraphPostMergeHDRI"].get_output("output"),
self.nodes["ParallelForMultiprocess"].get_output("results"), # pyright: ignore
self.nodes["GraphPostMergeHDRI"].get_output("output"), # pyright: ignore
strict=False,
)
),
Expand Down
2 changes: 1 addition & 1 deletion colour_hdri/network/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ def process(self, **kwargs: Any) -> None: # noqa: ARG002
self.log(f'"{image_path}" image does not exist!')
return

median.append(np.median(read_image_OpenImageIO(image_path))) # pyright: ignore
median.append(np.median(read_image_OpenImageIO(image_path)))

normalising_factor = np.median(median)

Expand Down
2 changes: 1 addition & 1 deletion colour_hdri/sampling/variance_minimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def light_probe_sampling_variance_minimization_Viriyothai2009(
Light_Specification(
(c / np.array(Y.shape))[::-1],
np.sum(np.sum(light_probe_c, 0), 0),
c,
c, # pyright: ignore
)
)

Expand Down
2 changes: 1 addition & 1 deletion colour_hdri/utilities/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_required_attributes(self) -> None:
required_attributes = ("cctf_decoding",)

for attribute in required_attributes:
assert attribute in dir(Image)
assert attribute in dir(ImageStack)

def test_required_methods(self) -> None:
"""Test the presence of required methods."""
Expand Down

0 comments on commit 743f35c

Please sign in to comment.