Debug pattern & curve description

This commit is contained in:
WQY\qiong
2022-11-18 19:42:39 +08:00
parent 0acf2d98ed
commit 0b5ce70966
2 changed files with 4 additions and 0 deletions

View File

@@ -116,6 +116,8 @@ def inp_in_pattern(section: list[str]) -> ChangeSet:
cs = ChangeSet()
for id, factors in patterns.items():
cs.append(g_add_prefix | {'type': 'pattern', 'id' : id, 'factors' : factors})
#print(descs)
return cs

View File

@@ -149,6 +149,8 @@ def inp_in_curve(section: list[str]) -> ChangeSet:
for id, coords in curves.items():
c_type = types[id] if id in types else CURVE_TYPE_PUMP
cs.append(g_add_prefix | {'type': 'curve', 'id' : id, 'c_type': c_type, 'coords' : coords})
#print(descs)
return cs