Skip to content

Commit

Permalink
address test
Browse files Browse the repository at this point in the history
  • Loading branch information
lferraz committed Mar 12, 2023
1 parent e158e29 commit 5a37f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/defining_cmps.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from limbus.core import Component, InputParams, OutputParams, ComponentState, OutputParam, InputParam # noqa: E402
from limbus.core import Pipeline, VerboseMode # noqa: E402


# define the components
# ---------------------
class Add(Component):
Expand Down
4 changes: 2 additions & 2 deletions tests/core/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def test_pipeline_iterable(self):
c2 = Constant("c2", 0)
unbind = Unbind("unbind")
show0 = Printer("print0")
c1.outputs.out.connect(unbind.inputs.input)
c1.outputs.out.connect(unbind.inputs.tensor)
c2.outputs.out.connect(unbind.inputs.dim)
unbind.outputs.out.select(0).connect(show0.inputs.inp)
unbind.outputs.tensors.select(0).connect(show0.inputs.inp)
pipeline = Pipeline()
pipeline.add_nodes([c1, c2, unbind, show0])
out = pipeline.run(1)
Expand Down

0 comments on commit 5a37f08

Please sign in to comment.