raiseSubtaskInvalidStateException("Cannot process feedback for subtask id=%s because the state is '%s' and not '%s'"%(subtask.id,subtask.state.value,SubtaskState.Choices.FINISHING.value))
logger.info('processing feedback into the dataproducts of subtask id=%s type=%s feedback:%s',subtask.id,subtask.specifications_template.type.value,single_line_with_single_spaces(str(feedback)))
logger.info('processing feedback into the dataproducts of subtask id=%s type=%s feedback:\n%s',subtask.id,subtask.specifications_template.type.value,str(feedback))
# create a subset in dict-form with the dataproduct information