Skip to content

Commit

Permalink
Hide assembly strategies when assembled contigs is selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-c-thomas committed Nov 28, 2022
1 parent b147c16 commit 353ed1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions public/js/p3/widget/app/MetagenomicBinning.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ define([
this.contigsFile.reset();
this.contigsFile.set('required', false);
this.checkParameterRequiredFields();
this.assemblyStategy.style.display = 'block';
this.auto.set('disabled', false);
this.megahit.set('disabled', false);
}
Expand All @@ -445,6 +446,7 @@ define([
this.numlibs.constraints.min = 0;
this.contigsFile.set('required', true);
this.checkParameterRequiredFields();
this.assemblyStategy.style.display = 'none';
this.auto.set('checked', true);
this.auto.set('disabled', true);
this.megahit.set('disabled', true);
Expand Down
2 changes: 1 addition & 1 deletion public/js/p3/widget/app/templates/MetagenomicBinning.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h3>${applicationLabel}
</div>
</div>

<div class="appRow">
<div class="appRow" data-dojo-attach-point="assemblyStategy">
<label class="paramlabel">Assembly Strategy</label><br>
<input type="radio" data-dojo-type="dijit/form/RadioButton" data-dojo-attach-point="metaspades" id = "metaspades" name="assembler" value="metaspades" disabled />
<label for="radio1" style="font-size:8pt">MetaSPAdes</label>
Expand Down

0 comments on commit 353ed1f

Please sign in to comment.