You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="form-parent-container platform-run"><biosimulations-pageheading="Customize Simulation" *ngIf="simulators.length; else loading"><form[formGroup]="formGroup" (ngSubmit)="onFormSubmit()"><!-- SIMULATION SETTINGS --><mat-cardclass="card-form-section mat-elevation-z3 sim-settings"><mat-card-headerclass="card-form-section-title solvers"
><spanclass="aster">*</span>Step 1: Adjust Simulation Settings
</mat-card-header><mat-card-content><!-- simulation name --><divclass="input-group"><mat-form-fieldclass="card-form-field" appearance="fill"><mat-label>Descriptive simulation name</mat-label><inputmatInputformControlName="name" placeholder="Knockout of gene A" required/></mat-form-field></div><!-- simulator --><divclass="input-group"><mat-form-fieldclass="card-form-field tool sim" appearance="fill"><mat-label>Simulation tool</mat-label><mat-selectformControlName="simulator"
disableOptionCenteringplaceholder="COPASI"
(ngModelChange)="simulatorControlUpdated()"
required><mat-option*ngFor="let simulator of simulators"
[value]="simulator.id"
[disabled]="simulator.disabled">
{{ simulator.name }}
</mat-option></mat-select></mat-form-field><mat-form-fieldclass="card-form-field tool version" appearance="fill"><mat-label>Version of the simulation tool</mat-label><mat-selectformControlName="simulatorVersion" disableOptionCenteringplaceholder="latest" required><mat-option*ngFor="let simulatorVersion of simulatorVersions" [value]="simulatorVersion">
{{ simulatorVersion }}
</mat-option></mat-select></mat-form-field></div></mat-card-content><!-- get notifications --><ng-container*ngIf="emailEnabled"><divclass="input-group"><mat-form-fieldclass="card-form-field" appearance="fill"><mat-label>Email address</mat-label><inputmatInputformControlName="email" placeholder="[email protected]" /></mat-form-field></div><mat-card-contentclass="card-hints 6 email-hint"><mat-hint>
After submitting your simulation, you will also receive a URL where you will be able to check the
status of your simulation and retrieve its results.
</mat-hint></mat-card-content><mat-error*ngIf="formGroup.hasError('email', 'email')">Please enter a valid email address.</mat-error><mat-error*ngIf="formGroup.hasError('emailNotConsented')">
You must consent to receiving email notifications.
</mat-error></ng-container><divclass="email"><mat-checkboxclass="checkbox-group"
formControlName="emailConsent"
color="primary"
(change)="enableEmail($event.checked)">
I consent to receiving an email notification about the completion of my simulation.
</mat-checkbox></div></mat-card><!-- simulation params --><mat-cardclass="card-form-section mat-elevation-z3"><mat-card-headerclass="card-form-section-title sim-variables"
><spanclass="aster">*</span>Step 2: Adjust Simulation Parameters
<divclass="change-view"><buttontype="button"
(click)="navigateToRun()"
mat-flat-buttonmatToolTip="Introspect Original Simulation Output"
class="biosimulations-button toggle-view-button introspect"
[style.background-color]="introspectionBtnColor"><spanmatTooltip="Introspect Original Simulation Output"
matTooltipPosition="above"
class="header-button-content"><biosimulations-iconicon="simulation"
style="color: white !important; padding-right: 0.5rem !important;"></biosimulations-icon>
Introspection
<ng-container*ngIf="!triggerViz; else vizIsOn">Off</ng-container><ng-template#vizIsOn>On</ng-template></span></button><buttontype="button"
(click)="changeParamsLayoutButton()"
mat-flat-button[matTooltip]="viewToggleMsg"
matTooltipPosition="above"
class="biosimulations-button toggle-view-button"
[style.background-color]="viewBtnColor"><spanclass="header-button-content"><ng-container*ngIf="!useDropdown; else cols"><biosimulations-iconicon="browse"></biosimulations-icon></ng-container><ng-template#cols><biosimulations-iconicon="columns"></biosimulations-icon></ng-template></span></button></div></mat-card-header><mat-card-contentclass="sim-variables-container"><ng-containerclass="existing-viz" *ngIf="triggerViz"><divclass="existing-viz" *ngIf="viz$ | async as visualizations" ><biosimulations-pageheading="Introspect Original Simulation Output"><biosimulations-project-select-visualization[visualizations]="visualizations"
(renderVisualization)="renderViz($event)"
[isCustomReRun]="false"></biosimulations-project-select-visualization><biosimulations-project-visualization*ngIf="visualization"
[visualization]="visualization"></biosimulations-project-visualization></biosimulations-page></div></ng-container><form[formGroup]="variablesFormGroup" (ngSubmit)="onFormSubmit()"><!-- TODO: implement this --><!-- <mat-checkbox color="primary" (change)="clearOverrides($event.checked)"> Clear existing overrides </mat-checkbox> --><!-- A. dropdown style implementation --><divclass="parameter-dropdown" *ngIf="useDropdown"><divformArrayName="parameterSelections" class="selection-fields"><div*ngFor="let selection of parameterSelections.controls; let i = index"
[formGroupName]="i"
class="parameter-selection"><!-- TODO: implement this --><!-- <mat-form-field appearance="fill" class="search-parameters params"> <mat-label>Search Parameters</mat-label> <input matInput placeholder="Type to filter..." formControlName="searchControl"> </mat-form-field> --><mat-form-fieldappearance="outline" class="select-parameters params"><mat-label>Select a parameter to adjust</mat-label><mat-selectformControlName="selectedRowIndex"><mat-option*ngFor="let row of rows.controls; index as idx"
[value]="idx"
[disabled]="isOptionSelected(idx, i)">
{{ row.get('name')?.value }} - {{ row.get('default')?.value }}
</mat-option></mat-select></mat-form-field><ng-container*ngIf="selection.get('selectedRowIndex')?.value !== null"><mat-form-fieldappearance="outline" class="parameter-default-value params"><mat-label>Default Value</mat-label><inputmatInput[value]="getDefault(i)" disabled></mat-form-field><mat-form-fieldappearance="outline"
class="parameter-new-value params"><mat-label>New Value</mat-label><inputmatInput[formControl]="getNewValueControl(i)"></mat-form-field><buttonmat-flat-buttontype="button"
(click)="removeModelChangeField(i)"
matTooltip="Remove parameter change"
class="biosimulations-button remove-change params"><biosimulations-iconicon="trash"></biosimulations-icon></button></ng-container></div><divclass="selection-control"><buttonmat-flat-buttontype="button"
class="biosimulations-button add-change"
matTooltip="Add a new parameter change"
(click)="addNewParameterSelection()"
>+
</button></div></div></div><!-- B. form style implementation --><div*ngIf="!useDropdown"><divformArrayName="rows" class="model-changes-grid"><div*ngFor="let row of rows.controls; let i = index" [formGroupName]="i"><mat-form-fieldappearance="outline" class="grid-input"><mat-labelclass="grid-label">Parameter Name</mat-label><inputmatInputtype="text" formControlName="name" class="grid-label"></mat-form-field><mat-form-fieldappearance="outline" class="grid-input"><mat-label>Default Value</mat-label><inputmatInputtype="text" formControlName="default"></mat-form-field><mat-form-fieldappearance="outline" class="grid-input"><mat-label>Enter a New Value</mat-label><inputmatInputtype="text" formControlName="newValue"></mat-form-field></div></div></div></form></mat-card-content></mat-card><!-- commercial solver --><mat-cardclass="card-form-section mat-elevation-z3" *ngIf="needsLicense"><mat-card-headerclass="card-form-section-title solvers"
>Commercial solvers</mat-card-header><mat-checkboxformControlName="academicPurpose" color="primary">
The purpose of this simulation is academic research or education.
</mat-checkbox><mat-card-contentclass="card-hints 3"><mat-hint><p>
Some simulation tools, such as COBRApy and RBApy, can optionally execute simulations using
commercial solvers such as Gurobi
<ahref="https://www.gurobi.com/products/gurobi-optimizer/" rel="noopener" target="_blank"><biosimulations-iconicon="link"></biosimulations-icon></a>
. These commercial solvers are often more accurate and more performant. However, these commercial
solvers are not required to execute any of the available simulation tools. All of the available
simulation tools can be run with freely available solvers.
</p><p>
Optionally, users can use these commercial solvers for academic research and education. To use these
commercial solvers, check the box above to confirm that you are using runBioSimulations for academic
research or education.
</p><p>
Non-academic users can execute simulations with commercial solvers by (a) running simulations
through runBioSimulations' API and providing license keys through environment variables or (b) using
the Docker images, command-line programs, or Python APIs for simulation tools on their own machines
with their own license key environment variables or license files.
</p></mat-hint></mat-card-content></mat-card><!-- SUBMIT FORM BUTTON --><buttonmat-flat-buttontype="submit"
class="biosimulations-button run"
>Run Simulation<biosimulations-iconstyle="padding-left: 1rem !important;" icon="logicalSimulation"></biosimulations-icon></button></form><!-- TODO: Implement this --><mat-sidenav-containerclass="sidenav-container"></mat-sidenav-container><!-- <mat-sidenav-container class="sidenav-container"> <mat-sidenav #sidenav mode="over" position="end"> <mat-card class="card-form-section right-col" *ngIf="triggerViz" [ngClass]="{'active': triggerViz}"> <mat-card-content> <ng-container class="existing-viz" *ngIf="viz$ | async as visualizations"> <div class="existing-viz"> <biosimulations-project-select-visualization [visualizations]="visualizations" (renderVisualization)="renderViz($event)"> </biosimulations-project-select-visualization> </div> <biosimulations-project-visualization *ngIf="visualization" [visualization]="visualization"> </biosimulations-project-visualization> </ng-container> </mat-card-content> </mat-card> </mat-sidenav> <mat-sidenav-content> <button mat-icon-button (click)="sidenav.toggle()"> <mat-icon>menu</mat-icon> </button> </mat-sidenav-content> </mat-sidenav-container> --></biosimulations-page><ng-template#loading><biosimulations-full-page-spinner></biosimulations-full-page-spinner></ng-template></div>
The text was updated successfully, but these errors were encountered:
biosimulations/apps/platform/src/app/components/run/customize-simulation/customize-simulation.component.html
Line 294 in 06442f8
The text was updated successfully, but these errors were encountered: