From ced060b8eab11eaa09558c1e83bc0c8a72b0f6c6 Mon Sep 17 00:00:00 2001 From: taoning Date: Wed, 30 Oct 2024 17:21:21 -0700 Subject: [PATCH] fix(px): add pcomb to top level interface --- pyradiance/__init__.py | 4 +++- pyradiance/px.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyradiance/__init__.py b/pyradiance/__init__.py index 0e9e195..81bae01 100644 --- a/pyradiance/__init__.py +++ b/pyradiance/__init__.py @@ -36,7 +36,7 @@ from .model import Primitive, Scene, Sensor, View from .ot import oconv from .param import SamplingParameters -from .px import falsecolor, pcompos, pcond, pfilt, pvalue, pvaluer, ra_ppm, ra_tiff +from .px import falsecolor, pcomb, PcombInput, pcompos, pcond, pfilt, pvalue, pvaluer, ra_ppm, ra_tiff from .rt import RcModifier, mkpmap, rcontrib, rpict, rtrace from .util import ( RcombInput, @@ -105,6 +105,8 @@ "pabopto2bsdf", "parse_primitive", "parse_view", + "pcomb", + "PcombInput", "pcompos", "pkgbsdf", "pvalue", diff --git a/pyradiance/px.py b/pyradiance/px.py index 19f06e3..16b3043 100644 --- a/pyradiance/px.py +++ b/pyradiance/px.py @@ -68,6 +68,7 @@ def pcomb( if stdin is not None: raise ValueError("Only one bytes input is allowed with pcomb.") stdin = input + cmd.append("-") elif isinstance(input, (str, Path)): cmd.append(str(input)) else: