Metadata will now be set on all output datasets when getting encode data.

This commit is contained in:
Greg Von Kuster
2008-01-03 14:12:07 +00:00
parent 637c9f02c4
commit 05df900b3d
2 changed files with 65 additions and 71 deletions
+1 -4
View File
@@ -35,9 +35,7 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr
newdata = app.model.Dataset()
newdata.extension = file_type
newdata.name = basic_name + " (" + description + ")"
newdata.flush()
history.add_dataset( newdata )
newdata.flush()
app.model.flush()
try:
copyfile(filepath,newdata.file_name)
@@ -47,7 +45,6 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr
newdata.info = "The requested file is missing from the system."
newdata.state = jobs.JOB_ERROR
newdata.dbkey = dbkey
newdata.init_meta()
newdata.set_meta()
newdata.set_peek()
#
app.model.flush()