Skip to content

Commit

Permalink
Updated to support attaching genbank .gb files
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriousHorncat committed Dec 16, 2024
1 parent 8ef39d1 commit 00c914e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ using OpenCravat. VCF string provided by Ensembl's API is cached in the MongoDB
Variant annotations were rendering vertically and it was taking too much space.
- Analyses have a version manifest of annotation's dataset, source, and version
- Increased VueJS version to 3.5.12 to use TemplateRef as a feature
- Added support for attaching genbank (.gb) files for supporting evidence attachments

### Development

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/AnalysisView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ async function addSectionAttachment(section, field, evidence) {
const attachment = await inputDialog
.confirmText('Add')
.cancelText('Cancel')
.file(includeComments, 'file', '.pdf, .jpg, .jpeg, .png')
.file(includeComments, 'file', '.pdf, .jpg, .jpeg, .png, .gb')
.url(includeComments, includeName)
.prompt();
Expand Down Expand Up @@ -403,7 +403,7 @@ async function addSupportingEvidence() {
const attachment = await inputDialog
.confirmText('Add')
.cancelText('Cancel')
.file(includeComments, 'file', '.pdf, .jpg, .jpeg, .png')
.file(includeComments, 'file', '.pdf, .jpg, .jpeg, .png, .gb')
.url(includeComments, includeName)
.prompt();
Expand Down
2 changes: 1 addition & 1 deletion frontend/test/components/Dialogs/InputDialog.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('InputDialog.vue', () => {
inputDialog
.confirmText('Add')
.cancelText('Cancel')
.file(includeComments, 'file', '.pdf, .jpg, .jpeg, .png')
.file(includeComments, 'file', '.pdf, .jpg, .jpeg, .png, .gb')
.url(includeComments, includeName)
.message('Warning message')
.prompt();
Expand Down

0 comments on commit 00c914e

Please sign in to comment.