Commit e1ce045f authored by Roque Porchetto's avatar Roque Porchetto

Data Set creation during ingestion: sets title and description.

parent c1113ce4
......@@ -123,7 +123,11 @@ if data_ingestion is None:
log("Creating a new Data Set")
data_set = portal.data_set_module.newContent(
portal_type = "Data Set",
reference = dataset_reference)
title = "Data set " + dataset_reference,
reference = dataset_reference,
description = "Default description.",
version = "001"
)
data_set.validate()
input_line.setDefaultAggregateValue(data_set)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment