mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: Nan issue. (#6242)
### What problem does this PR solve? #6065 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -265,7 +265,7 @@ class Canvas:
|
|||||||
pid = cpn["parent_id"]
|
pid = cpn["parent_id"]
|
||||||
_, o = cpn["obj"].output(allow_partial=False)
|
_, o = cpn["obj"].output(allow_partial=False)
|
||||||
_, oo = self.components[pid]["obj"].output(allow_partial=False)
|
_, oo = self.components[pid]["obj"].output(allow_partial=False)
|
||||||
self.components[pid]["obj"].set_output(pd.concat([oo.dropna(axis=1), o.dropna(axis=1)], ignore_index=True))
|
self.components[pid]["obj"].set_output(pd.concat([oo.dropna(axis=1), o.dropna(axis=1)], ignore_index=True).dropna())
|
||||||
downstream = [pid]
|
downstream = [pid]
|
||||||
|
|
||||||
for m in prepare2run(downstream):
|
for m in prepare2run(downstream):
|
||||||
|
|||||||
Reference in New Issue
Block a user