phenopolis / phenopolis_genomics_browser

Python API and React frontend for the Phenopolis Genomics Browser
https://dev-live.phenopolis.org
MIT License
31 stars 2 forks source link

Upload files #304

Closed YuanTian1991 closed 3 years ago

YuanTian1991 commented 3 years ago

The file management is working, on Manage Patient page, Admin only.

Admin can upload, download, delete files directly from browser to S3 bucket. And each patient would create folder on S3 automatically, seems good.

The backend code (upload.py in /view folder) I wrote maybe not good, did not implement comprehensive try or catch, did not consider return status as 400, 401. etc, You many modify my code as much as you like, as long as it works.

netlify[bot] commented 3 years ago

:heavy_check_mark: Deploy preview for phenopolis-dev ready!

:hammer: Explore the source changes: b9c9302646590fdb6c366cab955256ba658a04c8

:mag: Inspect the deploy logs: https://app.netlify.com/sites/phenopolis-dev/deploys/5fe7cab85d8d64000728a361

:sunglasses: Browse the preview: https://deploy-preview-304--phenopolis-dev.netlify.app