Skip to content

Commit

Permalink
fix(px): add pcomb to top level interface
Browse files Browse the repository at this point in the history
  • Loading branch information
taoning committed Oct 31, 2024
1 parent 728a46b commit ced060b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyradiance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -105,6 +105,8 @@
"pabopto2bsdf",
"parse_primitive",
"parse_view",
"pcomb",
"PcombInput",
"pcompos",
"pkgbsdf",
"pvalue",
Expand Down
1 change: 1 addition & 0 deletions pyradiance/px.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ced060b

Please sign in to comment.