diff --git a/atdb/taskdatabase/services/activities_handler.py b/atdb/taskdatabase/services/activities_handler.py index 91b669c9eac44336c55b3d2ed6bd9112d87c03a4..834a41b0710cd0f017e8868496c5a5919aa871cd 100644 --- a/atdb/taskdatabase/services/activities_handler.py +++ b/atdb/taskdatabase/services/activities_handler.py @@ -99,7 +99,7 @@ def update_activity(task): # calculate the fraction and list of statusses of ingested tasks of this SAS_ID if task.status in [State.SCRUBBED.value, State.PRE_ARCHIVING.value, State.PRE_ARCHIVED.value, - State.ARCHIVING.value, State.ARCHIVED.value, State.FINISHING.value]: + State.ARCHIVING.value, State.ARCHIVED.value, State.FINISHING.value, State.FINISHED.value]: logger.info(f'- calculate_ingested_fraction') result = calculate_ingested_fraction(task) activity.ingested_fraction = result['completion']