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

PEPhub wont save my PEP #414

Open
nleroy917 opened this issue Jan 27, 2025 · 1 comment
Open

PEPhub wont save my PEP #414

nleroy917 opened this issue Jan 27, 2025 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nleroy917
Copy link
Member

nleroy917 commented Jan 27, 2025

I can't get PEPhub to save my PEP. I have tried two ways:

  1. File upload interface
  2. Manually pasting the values in

I can confirm that locally with peppy==0.40.7, it will consume the PEP happily and let me traverse the sample/subsample table(s).

Steps to reproduce:

  1. Log in to PEPhub
  2. Navigate to your profile
  3. Click "Add" at the top right
  4. Navigate to the "upload PEP" form
  5. Select the attached files in the file selector
  6. Click, submit
  7. Observe error

Files

samples.csv
subsamples.csv

It wont let me upload a yaml, but this is the config:

# pep_config.yaml
pep_version: 2.1.0
sample_table: samples.csv
subsample_table: subsamples.csv
sample_table_index: id
subsample_table_index: file_uuid
name: atlas
description: Datasets (fastqs) to be used in the training of Atacformer.
@nleroy917 nleroy917 added bug Something isn't working help wanted Extra attention is needed labels Jan 27, 2025
@nleroy917
Copy link
Member Author

nleroy917 commented Jan 28, 2025

The hypothesis is that the AWS ECS config has a max file size limit (8mb). The NGINX reverse proxy is probably rejecting the request, and it isn't making it to the PEPhub API (FastAPI).

To resolve, on the frontend, we should introspect the file-size information and then notify the user that their file is too large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant