diff --git a/atdb/taskdatabase/services/activities_handler.py b/atdb/taskdatabase/services/activities_handler.py index 8195047aec9e911e348160386911e83b7cf225bd..c1ef9cc6c86df64891e42372b36f2a4cd8a7f385 100644 --- a/atdb/taskdatabase/services/activities_handler.py +++ b/atdb/taskdatabase/services/activities_handler.py @@ -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() diff --git a/atdb/taskdatabase/templates/taskdatabase/index.html b/atdb/taskdatabase/templates/taskdatabase/index.html index b4d295e83a73086e9db8eb0eda5e1ac143a7d00a..d702112a61c85753578118ffee15f9f972dd5d47 100644 --- a/atdb/taskdatabase/templates/taskdatabase/index.html +++ b/atdb/taskdatabase/templates/taskdatabase/index.html @@ -31,7 +31,7 @@ {% include 'taskdatabase/pagination.html' %} </div> </div> - <p class="footer"> Version 26 Aug 2024 + <p class="footer"> Version 28 Aug 2024 </div> {% include 'taskdatabase/refresh.html' %}