Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload gzipped files #2

Open
mflynn-lanl opened this issue Sep 13, 2019 · 3 comments
Open

Upload gzipped files #2

mflynn-lanl opened this issue Sep 13, 2019 · 3 comments

Comments

@mflynn-lanl
Copy link
Contributor

Users would like to be able to upload files that have been gzipped. The GUI will have to be changed to not reject .gz files. The upload function in the API will need to be modified to check for files with .gz file extension, uncompress them and remove the .gz file.

@mflynn-lanl
Copy link
Contributor Author

mflynn-lanl commented Sep 13, 2019

The Javascript file that handles uploads, uploadr.js was modified to accept .gz files

@mflynn-lanl
Copy link
Contributor Author

The function upload in phame.py was modified to check for .gz files, open the file and write to another file without the .gz file extension and delete the .gz file

@mflynn-lanl
Copy link
Contributor Author

unit and functional tests have been written to test gz file uploading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant