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

Updates to api/download_structures endpoint (issue 1326) #547

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

kaliif
Copy link
Contributor

@kaliif kaliif commented Mar 1, 2024

Backend changes:

  • apo_file, bound_file, sdf_info and smiles_info fields merged into all_aligned_structures
  • added pdb_info field
  • apo_solv, apo_desolv and ligand_pdb also added to download
  • not downloading neighbourhoods.yaml if transformations not requested
  • fixed error handling (correct entries in errors.csv)
  • returning combined sdf when requested

NB! DB schema changed, includes new migration so requires wiping the stack and reuploading.

kaliif added 3 commits March 1, 2024 13:03
- apo_file, bound_file, sdf_info and smiles_info merged into
all_aligned_structures
- added pdb_info field

NB! download_structures was requred to provide ligand_pdb as
well. This wasn't tracked previously, so I added field to
SiteObservation model. Meaning there's a migration and on stack
deployment data needs to be wiped and reuploaded
@alanbchristie alanbchristie self-requested a review March 1, 2024 16:50
@kaliif kaliif merged commit a860bfc into staging Mar 1, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants