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

Make core API call non-blocking #454

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ce5ea2e
Handle when Instant json element is a json object
zhx828 Aug 22, 2024
c3ce224
Merge pull request #424 from zhx828/hot-fix
zhx828 Aug 22, 2024
462c4c4
Textarea in review mode should fit text content (#427)
calvinlu3 Aug 23, 2024
565bc5b
Update pom version
Aug 23, 2024
f661d40
Fix reject cancer type name review (#428)
calvinlu3 Aug 23, 2024
2d1016a
Add reference to oncokb sop alteration nomenclature in add mutation m…
calvinlu3 Aug 30, 2024
d831031
Update pom version
Aug 30, 2024
7f64f9b
Avoid fetching management info repeatedly
zhx828 Sep 9, 2024
6575c8c
Do not rerender the side bar when loading session
zhx828 Sep 9, 2024
fee10a2
Fix drug code not selectable (#435)
calvinlu3 Sep 10, 2024
e0d7e91
Merge pull request #434 from zhx828/fix-user-page
zhx828 Sep 10, 2024
860dbab
Bump actions to latest version (#438)
calvinlu3 Sep 13, 2024
5cc5a79
resize text area when input changes (#440)
bprize15 Sep 19, 2024
8f0b194
add sorting by firebase index (#443)
bprize15 Sep 20, 2024
f269cf8
Delete mutation/tumor/treatment as last step to avoid stale index (#444)
calvinlu3 Sep 23, 2024
908422a
break in middle of word to fix collapsible title overlfow (#442)
bprize15 Sep 24, 2024
79bcf58
Change searchEntities to readHandler instead of updateHandler (#445)
calvinlu3 Sep 24, 2024
f3e0d76
Fixed data validation tool (#447)
jfkonecn Sep 25, 2024
0d93628
Allow curating mutation summary (#433)
zhx828 Sep 25, 2024
8200d24
Parse protein change case insensitive (#441)
zhx828 Sep 26, 2024
88e15ca
Fix adding CDx biomarker association (#450)
calvinlu3 Sep 30, 2024
cc47b5a
use firebase properties directly in backend (#451)
bprize15 Sep 30, 2024
0abddfd
fix references tab (#452)
bprize15 Oct 1, 2024
d37c65a
Added Heap (#448)
jfkonecn Oct 1, 2024
30df3be
Reduce width so sidebar does not go offscren (#446)
bprize15 Oct 1, 2024
267c190
allow comma in mutation name when transcripts present (#453)
bprize15 Oct 1, 2024
5662fa1
Make core API call non-blocking
jfkonecn Oct 3, 2024
df84037
Add tests for stale indices check (#455)
calvinlu3 Oct 4, 2024
f1b7f58
Added loading icon when review is accepted
jfkonecn Oct 7, 2024
3280ed7
Update setup-java action
zhx828 Oct 9, 2024
5ac76a1
Merge pull request #457 from oncokb/zhx828-patch-1
zhx828 Oct 9, 2024
f4e870b
Update pom version
Oct 9, 2024
298f9c8
Put feature flag in app config
jfkonecn Oct 14, 2024
5ebc9a8
Now showing loading icon on accept all
jfkonecn Oct 14, 2024
5451d14
Fixed merge conflicts
jfkonecn Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/after-branch-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:
- name: 'Setup Java'
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
java-version: 17

- name: 'Get Current Version Level'
id: version_level
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.mskcc.oncokb.curation</groupId>
<artifactId>oncokb-curation</artifactId>
<version>2.0.23</version>
<version>2.0.25</version>
<packaging>jar</packaging>
<name>OncoKB Curation</name>
<description>Description for oncokb-curation</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void importOncoKbSequence() throws ApiException, IOException {
@PostConstruct
public void initFirebase() throws IOException {
if (applicationProperties.getFirebase().isEnabled()) {
String serviceAccountPath = applicationProperties.getFrontend().getFirebase().getServiceAccountCredentialsPath();
String serviceAccountPath = applicationProperties.getFirebase().getServiceAccountCredentialsPath();
if (serviceAccountPath == null) {
log.error("application.firebase.service-account-credentials-path is not specified");
return;
Expand All @@ -113,7 +113,7 @@ public void initFirebase() throws IOException {
try {
FirebaseOptions options = FirebaseOptions.builder()
.setCredentials(GoogleCredentials.fromStream(serviceAccountFileUrl.openStream()))
.setDatabaseUrl(applicationProperties.getFrontend().getFirebase().getDatabaseUrl())
.setDatabaseUrl(applicationProperties.getFirebase().getDatabaseUrl())
.build();

FirebaseApp.initializeApp(options);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,14 @@ public String getSentryDsn() {
public void setSentryDsn(String sentryDsn) {
this.sentryDsn = sentryDsn;
}

private Boolean stopReviewIfCoreSubmissionFails;

public Boolean getStopReviewIfCoreSubmissionFails() {
return stopReviewIfCoreSubmissionFails;
}

public void setStopReviewIfCoreSubmissionFails(Boolean stopReviewIfCoreSubmissionFails) {
this.stopReviewIfCoreSubmissionFails = stopReviewIfCoreSubmissionFails;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public AlterationAnnotationStatus annotateAlteration(ReferenceGenome referenceGe

// update associated genes
Set<Gene> genes = alteration.getGenes();
if (parsedAlteration.getType().equals(STRUCTURAL_VARIANT) && !parsedAlteration.getGenes().isEmpty()) {
if (STRUCTURAL_VARIANT.equals(parsedAlteration.getType()) && !parsedAlteration.getGenes().isEmpty()) {
genes = parsedAlteration.getGenes();
}
Set<Gene> annotatedGenes = genes
Expand Down Expand Up @@ -230,7 +230,8 @@ public AlterationAnnotationStatus annotateAlteration(ReferenceGenome referenceGe
) {
String refRe = String.valueOf(canonicalSequenceOptional.orElseThrow().getSequence().charAt(alteration.getStart() - 1));
if (!StringUtils.isEmpty(refRe)) {
if (StringUtils.isEmpty(alteration.getRefResidues())) {
// only set the reference AA when the alteration happens on one position
if (StringUtils.isEmpty(alteration.getRefResidues()) && alteration.getStart().equals(alteration.getEnd())) {
alteration.setRefResidues(refRe);
} else {
// If The AA in alteration is differed from the canonical transcript, and it's not X, we give warning
Expand Down
Loading