Support inp in quality, source, reaction, mixing

This commit is contained in:
WQY\qiong
2023-03-16 00:02:11 +08:00
parent b35fccad49
commit bf1aeff1fa
6 changed files with 76 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ def inp_in_emitter_new(name: str, line: str) -> None:
junction = str(tokens[0])
coefficient = float(tokens[1])
write(name, f"\ninsert into emitters (junction, coefficient) values ('{junction}', {coefficient});")
write(name, f"insert into emitters (junction, coefficient) values ('{junction}', {coefficient});")
def inp_out_emitter(name: str) -> list[str]: