Skip to content

Commit

Permalink
Merge pull request #272 from VariantEffect/release-2024.4.0
Browse files Browse the repository at this point in the history
Release 2024.4.0
  • Loading branch information
bencap authored Sep 13, 2024
2 parents e8eb75b + 80de363 commit 3944851
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mavedb-ui",
"version": "2024.3.0",
"version": "2024.4.0",
"private": true,
"scripts": {
"build": "vite build --mode=${MODE=live}",
Expand Down
9 changes: 0 additions & 9 deletions src/components/screens/ScoreSetCreator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1258,15 +1258,6 @@ export default {
}
},
suggestionsForAutocomplete: function (suggestions) {
// The PrimeVue AutoComplete doesn't seem to like it if we set the suggestion list to [].
// This causes the drop-down to stop appearing when we later populate the list.
if (!suggestions || suggestions.length == 0) {
return [{}]
}
return suggestions
},
validateWizardStep: function(step) {
// Later, this may depend on server-side validation.
switch (step) {
Expand Down
26 changes: 25 additions & 1 deletion src/components/screens/ScoreSetView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div v-if="itemStatus=='Loaded'" class="mave-score-set">
<div class="mave-1000px-col">
<div v-if="!item.publishedDate" class="variant-processing-status">
<div v-if="item.processingState == 'success'">
<div v-if="item.processingState == 'success' && item.mappingState != 'processing' && item.mappingState != 'pending_variant_processing' && item.mappingState != 'queued'">
<Message severity="success">
Scores and/or counts have been successfully processed. This score set is ready to be published.
</Message>
Expand All @@ -13,6 +13,11 @@
Scores and/or counts are being processed. Refresh this page in a few minutes to check on their status.
</Message>
</div>
<div v-else-if="item.processingState == 'success' && (item.mappingState == 'pending_variant_processing' || item.mappingState == 'processing' || item.mappingState == 'queued')">
<Message severity="info">
Variants are being mapped to a reference. Refresh this page in a few minutes to check on their status.
</Message>
</div>
<div v-else-if="item.processingState == 'failed'">
<Message severity="error">
Failed to process score and/or count data: {{ item.processingErrors.exception }}. If there were issues with validation of individual variants, they will appear in the `Variants` section of this page.
Expand All @@ -24,6 +29,25 @@
</Message>
</div>
</div>
<div class="mave-1000px-col">
<div v-if="!item.publishedDate && item.processingState == 'success' && item.mappingState != 'pending_variant_processing' && item.mappingState != 'processing' && item.mappingState != 'queued'" class="mapping-status">
<div v-if="item.mappingState == 'complete'">
<Message severity="info">
All variants mapped successfully to reference.
</Message>
</div>
<div v-else-if="item.mappingState == 'incomplete'">
<Message severity="info">
Variant mapping completed, but some variants did not map successfully. The mapped variants file available on this page includes specific error messages for each failed variant mapping. Score set is still publishable.
</Message>
</div>
<div v-else-if="item.mappingState == 'failed'">
<Message severity="info">
Variants could not be mapped to reference: {{ item.mappingErrors.error_message }}. This score set is still publishable.
</Message>
</div>
</div>
</div>
<div class="mave-screen-title-bar">
<div class="mave-screen-title">{{ item.title || 'Untitled score set' }}</div>
<div v-if="userIsAuthenticated">
Expand Down

0 comments on commit 3944851

Please sign in to comment.