Added h5ad upload minimal support. See below.
I think I understand better how this work now...
I also document a few more minor issues:
- To avoid
PHP Warning: failed to open stream: Permission denied, we need to make sure that
cd www
sudo chmod 777 datasets analyses/* uploads/files/
This was mentioned on the gEAR documentation, but somehow overlooked. This has been added to the Ansible playbook.
-
To avoid PHP Warning: POST Content-Length of 16172687560 bytes exceeds the limit of 3145728000 bytes, limits were set in the apache2/php.ini (not in cli/php.ini). We faced this when trying to upload tar files (as per documentation). In fact, the files should be compressed (tar.gz)! But even then, I could not upload compressed large files.
-
Minor changes to lib/gear/metadata.py, see CHANGELOG. In particular related to cgi.escape gone in Python3.8.
File upload is too complex. We need to think how this can be simplified/harmonized and/or standardised.
The current 3-tab or 10X-like formats (or even worst Excel) are not viable for large datasets.
Added h5ad upload minimal support. See below.
UPDATE dataset SET is_public = 1 WHERE id = "id";this only affects the status of the dataset, not it's actual location. So how datasets are correctly uploaded for public access?I think I understand better how this work now...
I also document a few more minor issues:
PHP Warning: failed to open stream: Permission denied, we need to make sure thatThis was mentioned on the gEAR documentation, but somehow overlooked. This has been added to the Ansible playbook.
To avoid
PHP Warning: POST Content-Length of 16172687560 bytes exceeds the limit of 3145728000 bytes, limits were set in theapache2/php.ini(not incli/php.ini). We faced this when trying to upload tar files (as per documentation). In fact, the files should be compressed (tar.gz)! But even then, I could not upload compressed large files.Minor changes to
lib/gear/metadata.py, see CHANGELOG. In particular related to cgi.escape gone in Python3.8.