mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Added file_size column to dataset table, requires db schema alteration:
alter table dataset add column file_size numeric(15,0) Also added new script update_dataset_size.py
This commit is contained in:
@@ -26,6 +26,7 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr
|
||||
data = app.datatypes_registry.change_datatype( data, file_type )
|
||||
data.init_meta()
|
||||
data.set_peek()
|
||||
data.set_size()
|
||||
app.model.flush()
|
||||
elif fields[0] == "#NewFile":
|
||||
description = fields[1]
|
||||
@@ -47,4 +48,5 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr
|
||||
newdata.dbkey = dbkey
|
||||
newdata.set_meta()
|
||||
newdata.set_peek()
|
||||
new_data.set_size()
|
||||
app.model.flush()
|
||||
|
||||
Reference in New Issue
Block a user