This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 0dc58f9f2dbf0972ae260d1125426dab215bb79e
Author: Marcus Christie <[email protected]>
AuthorDate: Mon Jul 1 14:58:41 2019 -0400

    AIRAVATA-3029 Fixing call to open output file
---
 django_airavata/apps/api/output_views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django_airavata/apps/api/output_views.py 
b/django_airavata/apps/api/output_views.py
index d9fa758..9ffbb05 100644
--- a/django_airavata/apps/api/output_views.py
+++ b/django_airavata/apps/api/output_views.py
@@ -116,7 +116,7 @@ def _generate_data(request,
         data_product = request.airavata_client.getDataProduct(
             request.authz_token, experiment_output.value)
         if data_products_helper.exists(request, data_product):
-            output_file = data_products_helper.open()
+            output_file = data_products_helper.open(request, data_product)
     data = output_view_provider.generate_data(
         experiment_output, experiment, output_file=output_file)
     return data

Reply via email to