You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2020/09/22 21:07:36 UTC
[airavata-django-portal] 03/05: AIRAVATA-3346 Removing no longer
used, deprecated user_file_exists
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch AIRAVATA-3346-implement-remote-fs-abstraction-of-user-storage
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit 62b47f673b6564fa2fe4eb804db24ee75c1f3723
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Wed Sep 16 14:44:51 2020 -0400
AIRAVATA-3346 Removing no longer used, deprecated user_file_exists
---
django_airavata/apps/workspace/views.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/django_airavata/apps/workspace/views.py b/django_airavata/apps/workspace/views.py
index b358c3c..2d5a371 100644
--- a/django_airavata/apps/workspace/views.py
+++ b/django_airavata/apps/workspace/views.py
@@ -99,12 +99,6 @@ def create_experiment(request, app_module_id):
except Exception as e:
logger.exception(
f"Failed checking data product uri: {dp_uri}")
- else:
- # TODO: remove this functionality, data product URI should be passed instead
- data_product_uri = user_storage_sdk.user_file_exists(
- request, user_file_url.path)
- if data_product_uri is not None:
- user_input_values[app_input['name']] = data_product_uri
except ValueError as e:
logger.exception(f"Invalid user file value: {user_file_value}")
elif (app_input['type'] == DataType.STRING and