Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sciml operator from the menu #4240

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface CalibrationOperationStateCiemss extends BaseState {

export const CalibrationOperationCiemss: Operation = {
name: WorkflowOperationTypes.CALIBRATION_CIEMSS,
displayName: 'Calibrate with PyCIEMSS',
displayName: 'Calibrate',
description:
'given a model id, a dataset id, and optionally a configuration. calibrate the models initial values and rates',
documentationUrl: DOCUMENTATION_URL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface SimulateCiemssOperationState extends BaseState {

export const SimulateCiemssOperation: Operation = {
name: WorkflowOperationTypes.SIMULATE_CIEMSS,
displayName: 'Simulate with PyCIEMSS',
displayName: 'Simulate',
description: 'given a model id, and configuration id, run a simulation',
documentationUrl: DOCUMENTATION_URL,
inputs: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,13 @@ import * as DatasetOp from '@/components/workflow/ops/dataset/mod';
import * as FunmanOp from '@/components/workflow/ops/funman/mod';
import * as SimulateEnsembleCiemssOp from '@/components/workflow/ops/simulate-ensemble-ciemss/mod';
import * as ModelFromCodeOp from '@/components/workflow/ops/model-from-code/mod';
import * as SimulateJuliaOp from '@/components/workflow/ops/simulate-julia/mod';
import * as ModelOp from '@/components/workflow/ops/model/mod';
import * as ModelEditOp from '@/components/workflow/ops/model-edit/mod';
import * as ModelConfigOp from '@/components/workflow/ops/model-config/mod';
import * as CalibrateCiemssOp from '@/components/workflow/ops/calibrate-ciemss/mod';
import * as CalibrateEnsembleCiemssOp from '@/components/workflow/ops/calibrate-ensemble-ciemss/mod';
import * as DatasetTransformerOp from '@/components/workflow/ops/dataset-transformer/mod';
import * as SubsetDataOp from '@/components/workflow/ops/subset-data/mod';
import * as CalibrateJuliaOp from '@/components/workflow/ops/calibrate-julia/mod';
import * as CodeAssetOp from '@/components/workflow/ops/code-asset/mod';
import * as OptimizeCiemssOp from '@/components/workflow/ops/optimize-ciemss/mod';
import * as DocumentOp from '@/components/workflow/ops/document/mod';
Expand All @@ -215,7 +213,6 @@ import * as InterventionPolicyOp from '@/components/workflow/ops/intervention-po
const WORKFLOW_SAVE_INTERVAL = 8000;

const registry = new workflowService.WorkflowRegistry();
registry.registerOp(SimulateJuliaOp);
registry.registerOp(SimulateCiemssOp);
registry.registerOp(StratifyMiraOp);
registry.registerOp(ModelFromCodeOp);
Expand All @@ -230,7 +227,6 @@ registry.registerOp(CalibrateCiemssOp);
registry.registerOp(DatasetTransformerOp);
registry.registerOp(CodeAssetOp);
registry.registerOp(SubsetDataOp);
registry.registerOp(CalibrateJuliaOp);
registry.registerOp(OptimizeCiemssOp);
registry.registerOp(DocumentOp);
registry.registerOp(ModelFromDocumentOp);
Expand Down Expand Up @@ -536,15 +532,6 @@ const contextMenuItems: MenuItem[] = [
{
label: 'Run model',
items: [
{
label: SimulateJuliaOp.operation.displayName,
command: addOperatorToWorkflow(SimulateJuliaOp)
},
{
label: CalibrateJuliaOp.operation.displayName,
command: addOperatorToWorkflow(CalibrateJuliaOp)
},
{ separator: true },
{
label: SimulateCiemssOp.operation.displayName,
command: addOperatorToWorkflow(SimulateCiemssOp)
Expand Down
Loading