Skip to content
Snippets Groups Projects

add unittests

Merged Nico Vermaas requested to merge SDC-1408-quality-calc-per-file into master
6 files
+ 221
71
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -191,8 +191,8 @@ def update_processed_and_aggregate(task):
if (task.workflow.aggregation_strategy == AggregationStrategy.COLLECT_H5.value):
# check if there is already a storage_location, if not, add it.
if not activity.storage_location:
# check if there is already a storage_location, if not, add it... unless the value is 'unknown'
if not activity.storage_location or activity.storage_location == 'unknown':
# for this aggregation_strategy, the activity storage_location is the workdir of the aggregation task
activity.create_storage_location()
Loading