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

feat: return structured mutation and insertion responses #723

Conversation

fengelniederhammer
Copy link
Contributor

@fengelniederhammer fengelniederhammer commented Apr 2, 2024

resolves #718
resolves #710

builds on GenSpectrum/LAPIS-SILO#373

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

Comment on lines +53 to +57
val mutation = if (referenceGenomeSchema.isSingleSegmented()) {
it.mutation
} else {
"${it.sequenceName}:${it.mutation}"
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Taepper should we move this logic to SILO, too?

Copy link
Contributor

@JonasKellerer JonasKellerer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I think the docu needs to be adapted at /concepts/response-format/. There we have a picture of the mutation endpoint swagger ui.
And also the python example in getting-started/generate-your-request

@fengelniederhammer fengelniederhammer force-pushed the 718-return-mutations-and-insertions-as-structured-data branch 2 times, most recently from b44883c to 7d832dd Compare April 2, 2024 14:58
@fengelniederhammer fengelniederhammer force-pushed the 718-return-mutations-and-insertions-as-structured-data branch from 7d832dd to 0a5a7be Compare April 3, 2024 09:39
@fengelniederhammer fengelniederhammer merged commit af38e93 into main Apr 3, 2024
10 checks passed
@fengelniederhammer fengelniederhammer deleted the 718-return-mutations-and-insertions-as-structured-data branch April 3, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants