format script
This commit is contained in:
parent
7e244a55c5
commit
fc4104a087
|
@ -2,7 +2,6 @@
|
||||||
from HRB.Cellario.Scripting import *
|
from HRB.Cellario.Scripting import *
|
||||||
from HRB.Cellario.Scripting.API import *
|
from HRB.Cellario.Scripting.API import *
|
||||||
import json
|
import json
|
||||||
from sys import argv
|
|
||||||
from os import path, listdir
|
from os import path, listdir
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
@ -25,7 +24,8 @@ def Execute(api : PythonScriptingApi):
|
||||||
output = letter_tubes_to_obj(letters)
|
output = letter_tubes_to_obj(letters)
|
||||||
|
|
||||||
api.Messaging.WriteDiagnostic(ScriptLogLevel.Normal, json.dumps(output))
|
api.Messaging.WriteDiagnostic(ScriptLogLevel.Normal, json.dumps(output))
|
||||||
list(api.CurrentRun.RunOrderParameters)[0].ParameterValue = json.dumps(output)
|
list(api.CurrentRun.RunOrderParameters)[
|
||||||
|
0].ParameterValue = json.dumps(output)
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
|
Loading…
Reference in New Issue