Comment out pattern and curve v3 version
This commit is contained in:
@@ -98,6 +98,13 @@ def delete_pattern(name: str, cs: ChangeSet) -> ChangeSet:
|
|||||||
# ;desc
|
# ;desc
|
||||||
# id mult1 mult2 .....
|
# id mult1 mult2 .....
|
||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
|
#--------------------------------------------------------------
|
||||||
|
# [EPA3][IN][OUT]
|
||||||
|
# id FIXED (interval)
|
||||||
|
# id factor1 factor2 ...
|
||||||
|
# id VARIABLE
|
||||||
|
# id time1 factor1 time2 factor2 ...
|
||||||
|
#--------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
def inp_in_pattern(line: str) -> str:
|
def inp_in_pattern(line: str) -> str:
|
||||||
@@ -118,14 +125,7 @@ def inp_out_pattern(name: str) -> list[str]:
|
|||||||
return lines
|
return lines
|
||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------
|
'''def inp_in_pattern_v3(section: list[str]) -> ChangeSet:
|
||||||
# [EPA3][IN][OUT]
|
|
||||||
# id FIXED (interval)
|
|
||||||
# id factor1 factor2 ...
|
|
||||||
# id VARIABLE
|
|
||||||
# id time1 factor1 time2 factor2 ...
|
|
||||||
#--------------------------------------------------------------
|
|
||||||
def inp_in_pattern_v3(section: list[str]) -> ChangeSet:
|
|
||||||
patterns: dict[str, list[float]] = {}
|
patterns: dict[str, list[float]] = {}
|
||||||
|
|
||||||
variable_patterns: list[str] = []
|
variable_patterns: list[str] = []
|
||||||
@@ -158,7 +158,7 @@ def inp_in_pattern_v3(section: list[str]) -> ChangeSet:
|
|||||||
cs.append(g_add_prefix | {'type': 'pattern', 'id' : id, 'factors' : factors})
|
cs.append(g_add_prefix | {'type': 'pattern', 'id' : id, 'factors' : factors})
|
||||||
|
|
||||||
#print(descs)
|
#print(descs)
|
||||||
return cs
|
return cs'''
|
||||||
|
|
||||||
|
|
||||||
def inp_out_pattern_v3(name: str) -> list[str]:
|
def inp_out_pattern_v3(name: str) -> list[str]:
|
||||||
|
|||||||
@@ -126,6 +126,11 @@ def delete_curve(name: str, cs: ChangeSet) -> ChangeSet:
|
|||||||
# ;type: desc
|
# ;type: desc
|
||||||
# id x y
|
# id x y
|
||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
|
#--------------------------------------------------------------
|
||||||
|
# [EPA3][IN][OUT]
|
||||||
|
# id type
|
||||||
|
# id x y
|
||||||
|
#--------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
def inp_in_curve(line: str) -> str:
|
def inp_in_curve(line: str) -> str:
|
||||||
@@ -149,12 +154,7 @@ def inp_out_curve(name: str) -> list[str]:
|
|||||||
return lines
|
return lines
|
||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------
|
'''def inp_in_curve_v3(section: list[str]) -> ChangeSet:
|
||||||
# [EPA3][IN][OUT]
|
|
||||||
# id type
|
|
||||||
# id x y
|
|
||||||
#--------------------------------------------------------------
|
|
||||||
def inp_in_curve_v3(section: list[str]) -> ChangeSet:
|
|
||||||
types = {}
|
types = {}
|
||||||
curves: dict[str, list[dict[str, float]]] = {}
|
curves: dict[str, list[dict[str, float]]] = {}
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ def inp_in_curve_v3(section: list[str]) -> ChangeSet:
|
|||||||
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)
|
#print(descs)
|
||||||
return cs
|
return cs'''
|
||||||
|
|
||||||
|
|
||||||
def inp_out_curve_v3(name: str) -> list[str]:
|
def inp_out_curve_v3(name: str) -> list[str]:
|
||||||
|
|||||||
Reference in New Issue
Block a user