Skip to content

Commit

Permalink
Merge pull request #65 from ebi-uniprot/dev
Browse files Browse the repository at this point in the history
esm score endpoint - remaining changes
  • Loading branch information
prabh-t authored Apr 26, 2024
2 parents d19f546 + cd20cd2 commit 73c32ae
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import uk.ac.ebi.protvar.model.data.ConservScore;
import uk.ac.ebi.protvar.model.data.Foldx;
import uk.ac.ebi.protvar.model.data.Interaction;
import uk.ac.ebi.protvar.model.data.Pocket;
import uk.ac.ebi.protvar.model.data.*;
import uk.ac.ebi.protvar.repo.ProtVarDataRepo;
import uk.ac.ebi.protvar.utils.AminoAcid;

Expand Down Expand Up @@ -129,7 +126,7 @@ public ResponseEntity<List<ESMScore>> getEsmScores(
@Parameter(example = "Q9NUW8") @PathVariable String accession,
@Parameter(example = "493") @PathVariable Integer position) {

List<ConservScore> scores = protVarDataRepo.getConservScores(accession, position);
List<ESMScore> scores = protVarDataRepo.getEsmScores(accession, position);
return new ResponseEntity<>(scores, HttpStatus.OK);
}
}

0 comments on commit 73c32ae

Please sign in to comment.