Debug pattern & curve description
This commit is contained in:
@@ -116,6 +116,8 @@ def inp_in_pattern(section: list[str]) -> ChangeSet:
|
|||||||
cs = ChangeSet()
|
cs = ChangeSet()
|
||||||
for id, factors in patterns.items():
|
for id, factors in patterns.items():
|
||||||
cs.append(g_add_prefix | {'type': 'pattern', 'id' : id, 'factors' : factors})
|
cs.append(g_add_prefix | {'type': 'pattern', 'id' : id, 'factors' : factors})
|
||||||
|
|
||||||
|
#print(descs)
|
||||||
return cs
|
return cs
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -149,6 +149,8 @@ def inp_in_curve(section: list[str]) -> ChangeSet:
|
|||||||
for id, coords in curves.items():
|
for id, coords in curves.items():
|
||||||
c_type = types[id] if id in types else CURVE_TYPE_PUMP
|
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})
|
cs.append(g_add_prefix | {'type': 'curve', 'id' : id, 'c_type': c_type, 'coords' : coords})
|
||||||
|
|
||||||
|
#print(descs)
|
||||||
return cs
|
return cs
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user