Skip to content

Commit 88fe209

Browse files
committed
fixed: 修复 bug
1 parent 4c861af commit 88fe209

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ By considering income, expenses, and their variations when buying a home, we can
88

99
| workflow | output |
1010
| --- | --- |
11-
| ![workflow](./images/workflow.png) | ![preview](./images/preview.png) |
12-
11+
| ![workflow-1](./images/workflow-1.png) | ![preview](./images/preview.png) |
1312

13+
汇总目标房产信息
1414

15+
| workflow |
16+
| --- |
17+
| ![workflow-1](./images/workflow-1.png) |
File renamed without changes.

images/workflow-2.png

693 KB
Loading

nodes/node_housing_calc.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def INPUT_TYPES(s):
5050
FUNCTION = "exec"
5151
OUTPUT_NODE = True
5252
CATEGORY = "⭐️ Baikong"
53-
DESCRIPTION = "使用 Table 预览数据,并输出 csv、json 两种格式的结果" Excel"
53+
DESCRIPTION = "使用表格预览数据,并输出csv、json两种格式的结果"
5454

5555
def json_to_table(self, json_data):
5656

@@ -133,8 +133,7 @@ def exec(self, csv, sort_by="", sort_direction="正序", unique_id=None, extra_p
133133
ascending = [ascending] * len(valid_columns)
134134

135135
df = df.sort_values(by=valid_columns, ascending=ascending)
136-
print(f"[BK_Table_Preview] ○ Sorted by {
137-
valid_columns} in {sort_direction} order")
136+
print(f"[BK_Table_Preview] ○ Sorted by {valid_columns} in {sort_direction} order")
138137
else:
139138
print(
140139
f"[BK_Table_Preview] ⚠️ Warning: No valid column names found in {sort_by}")

nodes/node_housing_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def exec(self, pipeline=None, 房屋总价=None, 室=None, 厅=None, 卫=None,
5050
"小区名称": 小区名称 or "-",
5151
"房屋总价": f"{房屋总价/10000:.2f}万元",
5252
"房型": f"{}{}{}卫",
53-
"建筑面积": f"{建筑面积}m²",
53+
"建筑面积": f"{建筑面积:.2f}m²",
5454
"得房率": f"{得房率}%" or "-",
5555
"套内面积": f"{建筑面积*得房率/100:.2f}m²" or "-",
5656
"楼层": f"{当前楼层}/{总楼层}" or "-",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui_baikong_buying"
33
description = "Home Buying Decision Factors | 买房决策因子"
4-
version = "1.1.0"
4+
version = "1.1.1"
55
license = { file = "LICENSE" }
66
dependencies = ["seaborn",]
77

0 commit comments

Comments
 (0)