Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #249 from genestack/feauture/ODM-11738-transfer-wi…
Browse files Browse the repository at this point in the history
…pe-study

[ODM-11738] Transfer wipeStudy to MetainfoEditorLibrary
  • Loading branch information
mctep authored Jun 24, 2024
2 parents 9a2b191 + 8764553 commit 9e43b8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyter_notebooks/sharing-exporting-deleting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
],
"source": [
"object_to_delete = 'GSF015445'\n",
"url_delete_object = app_endpoint + 'arvados-importer/wipeStudy'\n",
"url_delete_object = app_endpoint + 'study-metainfo-editor/wipeStudy'\n",
"s.post(url=url_delete_object, json=[object_to_delete])"
]
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/import/delete_study_via_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def delete_study(study_accession, srv, token):
url_authenticate = app_endpoint + 'signin/authenticateByApiToken'
s = requests.Session()
s.post(url_authenticate, json=[token])
url_delete_object = app_endpoint + 'arvados-importer/wipeStudy'
url_delete_object = app_endpoint + 'study-metainfo-editor/wipeStudy'
header = {'Genestack-API-Token': token}
response = s.post(url=url_delete_object, json=[study_accession], headers=header)
print(response.status_code)
Expand Down

0 comments on commit 9e43b8b

Please sign in to comment.