changeset 1:44f3e5c09f01 draft

Code file
author blankenberg
date Tue, 08 Oct 2019 17:50:49 -0400
parents d2db71f5eeb8
children ed946e888494
files plink_code_file.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plink_code_file.py	Tue Oct 08 17:50:49 2019 -0400
@@ -0,0 +1,6 @@
+def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr):
+    for name, data in out_data.items():
+        if data.has_data():
+            data.visible = True
+            app.model.context.add(data)
+    app.model.context.flush()