Skip to content

Commit

Permalink
using gui example inputs sets assembly to hg38
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoad committed Feb 26, 2024
1 parent c242b6d commit 6b365b5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 90 deletions.
16 changes: 0 additions & 16 deletions cravat/websubmit/input-examples/cravat.hg18.txt

This file was deleted.

16 changes: 0 additions & 16 deletions cravat/websubmit/input-examples/cravat.hg19.txt

This file was deleted.

28 changes: 0 additions & 28 deletions cravat/websubmit/input-examples/vcf.hg18.txt

This file was deleted.

28 changes: 0 additions & 28 deletions cravat/websubmit/input-examples/vcf.hg19.txt

This file was deleted.

4 changes: 2 additions & 2 deletions cravat/websubmit/nocache/websubmit.js
Original file line number Diff line number Diff line change
Expand Up @@ -939,8 +939,7 @@ function deleteJob (jobId) {
function inputExampleChangeHandler (event) {
var elem = $(event.target);
var format = elem.val();
var assembly = $('#assembly-select').val();
assembly = assembly === null ? 'hg38' : assembly;
var assembly = 'hg38';
var formatAssembly = format + '.' + assembly;
var getExampleText = new Promise((resolve, reject) => {
var cachedText = OC.GLOBALS.inputExamples[formatAssembly];
Expand All @@ -965,6 +964,7 @@ function inputExampleChangeHandler (event) {
var inputArea = $('#input-text');
inputArea.val(text);
inputArea.change();
$('#assembly-select').val(assembly);
})
}

Expand Down

0 comments on commit 6b365b5

Please sign in to comment.