mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-24 06:48:13 -06:00
Build, copy and edit taskmaestro workflows in ResInsight and save them as standard workflow.yaml + input.yaml. - Python helper: catalog, load, save and export-registered subcommands, and run --registered for installed workflows - C++ definition model with pure edit operations, port type checks, config field derivation, static validation and undo/redo - Installed folder listing registered workflows (read-only, runnable, can be duplicated) - Graph editor dock with task palette, drag-to-connect, context menus, automatic layout and debounced live validation - New/Duplicate/Save/Save As/Rescan commands; unsaved edits run from a temporary folder and prompt before being discarded - Update the design document and the user README
2 lines
31 KiB
JSON
2 lines
31 KiB
JSON
{"format": 1, "name": "resinsight_completions", "result_task": null, "editable": true, "readonly_reasons": [], "warnings": [], "source": {"workflow_yaml": "test_data/taskmaestro_workflows/resinsight_completions/workflow.yaml", "input_yaml": "test_data/taskmaestro_workflows/resinsight_completions/input.yaml", "registered_id": null}, "header_comment": "# ResInsight Completions Pipeline \u2014 YAML workflow configuration\n#\n# Tasks use stable entry-point identifiers published by taskmaestro-resinsight,\n# rather than Python module/class paths.\n#\n# DAG with fan-out / fan-in pattern:\n# ConnectToResInsight \u2192 SelectEclipseCase \u2192 [SelectWellPath x2] \u2192 [AddPerforation x2] \u2192 ExportCompletions", "passthrough": {"runner": {"hooks": [{"hook": "taskmaestro.hooks.logging.LoggingHook"}, {"hook": "taskmaestro.hooks.timing.TimingHook"}]}}, "nodes": [{"name": "connect_to_resinsight", "task": "resinsight.connect", "config_fields": []}, {"name": "select_eclipse_case", "task": "resinsight.select_eclipse_case", "config_fields": ["case"]}, {"name": "select_well_path_1", "task": "resinsight.select_well_path", "config_fields": ["well_path"]}, {"name": "select_well_path_2", "task": "resinsight.select_well_path", "config_fields": ["well_path"]}, {"name": "add_perf_1", "task": "resinsight.add_perforation", "config_fields": ["event_date", "start_md", "end_md"]}, {"name": "add_perf_2", "task": "resinsight.add_perforation", "config_fields": ["event_date", "start_md", "end_md"]}, {"name": "export_completions", "task": "resinsight.export_completions", "config_fields": ["event_date", "export_path"]}], "edges": [{"from": "connect_to_resinsight", "output": null, "to": "select_eclipse_case", "input": "resinsight"}, {"from": "connect_to_resinsight", "output": null, "to": "select_well_path_1", "input": "resinsight"}, {"from": "select_eclipse_case", "output": null, "to": "select_well_path_1", "input": "grid_case"}, {"from": "connect_to_resinsight", "output": null, "to": "select_well_path_2", "input": "resinsight"}, {"from": "select_eclipse_case", "output": null, "to": "select_well_path_2", "input": "grid_case"}, {"from": "connect_to_resinsight", "output": null, "to": "add_perf_1", "input": "resinsight"}, {"from": "select_well_path_1", "output": null, "to": "add_perf_1", "input": "well_path"}, {"from": "connect_to_resinsight", "output": null, "to": "add_perf_2", "input": "resinsight"}, {"from": "select_well_path_2", "output": null, "to": "add_perf_2", "input": "well_path"}, {"from": "connect_to_resinsight", "output": null, "to": "export_completions", "input": "resinsight"}, {"from": "select_eclipse_case", "output": null, "to": "export_completions", "input": "grid_case"}, {"from": "add_perf_1", "output": null, "to": "export_completions", "input": "perforation_1"}, {"from": "add_perf_2", "output": null, "to": "export_completions", "input": "perforation_2"}], "inputs": {"connect_to_resinsight": {}, "select_eclipse_case": {}, "select_well_path_1": {}, "select_well_path_2": {}, "add_perf_1": {"event_date": "2024-01-01", "start_md": 3000.0, "end_md": 3500.0}, "add_perf_2": {"event_date": "2024-02-01", "start_md": 2400.0, "end_md": 2600.0}, "export_completions": {"event_date": "2024-05-01", "export_path": "/tmp/completions.txt"}}, "task_types": {"resinsight.connect": {"id": "resinsight.connect", "name": "connect_to_resinsight", "python_type": "taskmaestro_resinsight.connect_to_resinsight.ConnectToResInsight", "description": "Connect to a running ResInsight instance.", "timeout_seconds": null, "input_schema": {"description": "Sentinel config for workflows where all root tasks use JobConfiguration.", "properties": {}, "title": "EmptyConfig", "type": "object", "x-ri-python-bases": ["taskmaestro.job.EmptyConfig"], "x-ri-python-type": "taskmaestro.job.EmptyConfig"}, "output_schema": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}}, "resinsight.select_eclipse_case": {"id": "resinsight.select_eclipse_case", "name": "select_eclipse_case", "python_type": "taskmaestro_resinsight.select_eclipse_case.SelectEclipseCase", "description": "Pass an existing case through to downstream tasks.", "timeout_seconds": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.Reservoir", "rips.generated.generated_classes.Case", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.Reservoir", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.GridCase", "taskmaestro.object_model.ObjectModel[Reservoir]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.GridCase"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}}, "description": "Input for SelectEclipseCase: RipsInstance from upstream, case selected via config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "case": {"$ref": "#/$defs/GridCase", "description": "Case to use"}}, "required": ["resinsight", "case"], "title": "SelectEclipseCaseInput", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.SelectEclipseCaseInput"], "x-ri-python-type": "taskmaestro_resinsight.models.SelectEclipseCaseInput"}, "output_schema": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.Reservoir", "rips.generated.generated_classes.Case", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.Reservoir", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.GridCase", "taskmaestro.object_model.ObjectModel[Reservoir]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.GridCase"}}, "resinsight.select_well_path": {"id": "resinsight.select_well_path", "name": "select_well_path", "python_type": "taskmaestro_resinsight.select_well_path.SelectWellPath", "description": "Pass an existing well path through to downstream tasks.", "timeout_seconds": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.Reservoir", "rips.generated.generated_classes.Case", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.Reservoir", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.GridCase", "taskmaestro.object_model.ObjectModel[Reservoir]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.GridCase"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}, "WellPath": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.WellPath", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.WellPath", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.WellPath", "taskmaestro.object_model.ObjectModel[WellPath]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.WellPath"}}, "description": "Input for SelectWellPath: RipsInstance from upstream, well path selected via config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "grid_case": {"$ref": "#/$defs/GridCase"}, "well_path": {"$ref": "#/$defs/WellPath", "description": "Well path to use"}}, "required": ["resinsight", "grid_case", "well_path"], "title": "SelectWellPathInput", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.SelectWellPathInput"], "x-ri-python-type": "taskmaestro_resinsight.models.SelectWellPathInput"}, "output_schema": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.WellPath", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.WellPath", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.WellPath", "taskmaestro.object_model.ObjectModel[WellPath]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.WellPath"}}, "resinsight.add_perforation": {"id": "resinsight.add_perforation", "name": "add_perforation", "python_type": "taskmaestro_resinsight.add_perforation.AddPerforation", "description": "Add perforation events to a well path.", "timeout_seconds": null, "input_schema": {"$defs": {"RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}, "WellPath": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.WellPath", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.WellPath", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.WellPath", "taskmaestro.object_model.ObjectModel[WellPath]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.WellPath"}}, "description": "Input for AddPerforation: RipsInstance + well from upstream, MD range from config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "well_path": {"$ref": "#/$defs/WellPath"}, "event_date": {"description": "Perforation event date", "format": "date", "title": "Event Date", "type": "string"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["resinsight", "well_path", "event_date", "start_md", "end_md"], "title": "AddPerforationInput", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.AddPerforationInput"], "x-ri-python-type": "taskmaestro_resinsight.models.AddPerforationInput"}, "output_schema": {"description": "Output of AddPerforation: perforation interval details.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.WellPath", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.WellPath", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["value", "start_md", "end_md"], "title": "PerforationOutput", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.PerforationOutput", "taskmaestro.object_model.ObjectModel[WellPath]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.PerforationOutput"}}, "resinsight.export_completions": {"id": "resinsight.export_completions", "name": "export_completions", "python_type": "taskmaestro_resinsight.export_completions.ExportCompletions", "description": "Fan-in: merge case and perforations, then export completions.\n\nUses inline Inputs/Outputs inner classes for the named-ports fan-in pattern.\nexport_path comes from config.", "timeout_seconds": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.Reservoir", "rips.generated.generated_classes.Case", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.Reservoir", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.GridCase", "taskmaestro.object_model.ObjectModel[Reservoir]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.GridCase"}, "PerforationOutput": {"description": "Output of AddPerforation: perforation interval details.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.generated.generated_classes.WellPath", "rips.pdmobject.PdmObjectBase"], "x-ri-python-type": "rips.generated.generated_classes.WellPath", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["value", "start_md", "end_md"], "title": "PerforationOutput", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.PerforationOutput", "taskmaestro.object_model.ObjectModel[WellPath]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.PerforationOutput"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}}, "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "grid_case": {"$ref": "#/$defs/GridCase"}, "perforation_1": {"$ref": "#/$defs/PerforationOutput"}, "perforation_2": {"$ref": "#/$defs/PerforationOutput"}, "event_date": {"description": "Perforation event date", "format": "date", "title": "Event Date", "type": "string"}, "export_path": {"description": "Path to write the completions file", "format": "path", "title": "Export Path", "type": "string"}}, "required": ["resinsight", "grid_case", "perforation_1", "perforation_2", "event_date", "export_path"], "title": "Inputs", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.export_completions.ExportCompletions.Inputs"], "x-ri-python-type": "taskmaestro_resinsight.export_completions.ExportCompletions.Inputs"}, "output_schema": {"properties": {"export_file": {"title": "Export File", "type": "string"}, "well_path_names": {"items": {"type": "string"}, "title": "Well Path Names", "type": "array"}}, "required": ["export_file", "well_path_names"], "title": "Outputs", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.export_completions.ExportCompletions.Outputs"], "x-ri-python-type": "taskmaestro_resinsight.export_completions.ExportCompletions.Outputs"}}}, "describe": {"workflow": "resinsight_completions", "result_task": "export_completions", "tasks": [{"name": "connect_to_resinsight", "python_type": "taskmaestro_resinsight.connect_to_resinsight.ConnectToResInsight", "depends_on": null, "config_fields": [], "provided_config_fields": [], "missing_config_fields": [], "config_values": {}, "required_input_fields": [], "map": null, "input_schema": {"description": "Sentinel config for workflows where all root tasks use JobConfiguration.", "properties": {}, "title": "EmptyConfig", "type": "object"}, "output_schema": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}}, {"name": "select_eclipse_case", "python_type": "taskmaestro_resinsight.select_eclipse_case.SelectEclipseCase", "depends_on": {"resinsight": {"task": "connect_to_resinsight", "field": null}}, "config_fields": ["case"], "provided_config_fields": [], "missing_config_fields": ["case"], "config_values": {}, "required_input_fields": ["case", "resinsight"], "map": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}}, "description": "Input for SelectEclipseCase: RipsInstance from upstream, case selected via config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "case": {"$ref": "#/$defs/GridCase", "description": "Case to use"}}, "required": ["resinsight", "case"], "title": "SelectEclipseCaseInput", "type": "object"}, "output_schema": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object"}}, {"name": "select_well_path_1", "python_type": "taskmaestro_resinsight.select_well_path.SelectWellPath", "depends_on": {"resinsight": {"task": "connect_to_resinsight", "field": null}, "grid_case": {"task": "select_eclipse_case", "field": null}}, "config_fields": ["well_path"], "provided_config_fields": [], "missing_config_fields": ["well_path"], "config_values": {}, "required_input_fields": ["grid_case", "resinsight", "well_path"], "map": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}, "WellPath": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object"}}, "description": "Input for SelectWellPath: RipsInstance from upstream, well path selected via config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "grid_case": {"$ref": "#/$defs/GridCase"}, "well_path": {"$ref": "#/$defs/WellPath", "description": "Well path to use"}}, "required": ["resinsight", "grid_case", "well_path"], "title": "SelectWellPathInput", "type": "object"}, "output_schema": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object"}}, {"name": "add_perf_1", "python_type": "taskmaestro_resinsight.add_perforation.AddPerforation", "depends_on": {"resinsight": {"task": "connect_to_resinsight", "field": null}, "well_path": {"task": "select_well_path_1", "field": null}}, "config_fields": ["end_md", "event_date", "start_md"], "provided_config_fields": ["end_md", "event_date", "start_md"], "missing_config_fields": [], "config_values": {"end_md": 3500.0, "event_date": "2024-01-01", "start_md": 3000.0}, "required_input_fields": ["end_md", "event_date", "resinsight", "start_md", "well_path"], "map": null, "input_schema": {"$defs": {"RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}, "WellPath": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object"}}, "description": "Input for AddPerforation: RipsInstance + well from upstream, MD range from config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "well_path": {"$ref": "#/$defs/WellPath"}, "event_date": {"description": "Perforation event date", "format": "date", "title": "Event Date", "type": "string"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["resinsight", "well_path", "event_date", "start_md", "end_md"], "title": "AddPerforationInput", "type": "object"}, "output_schema": {"description": "Output of AddPerforation: perforation interval details.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["value", "start_md", "end_md"], "title": "PerforationOutput", "type": "object"}}, {"name": "select_well_path_2", "python_type": "taskmaestro_resinsight.select_well_path.SelectWellPath", "depends_on": {"resinsight": {"task": "connect_to_resinsight", "field": null}, "grid_case": {"task": "select_eclipse_case", "field": null}}, "config_fields": ["well_path"], "provided_config_fields": [], "missing_config_fields": ["well_path"], "config_values": {}, "required_input_fields": ["grid_case", "resinsight", "well_path"], "map": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}, "WellPath": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object"}}, "description": "Input for SelectWellPath: RipsInstance from upstream, well path selected via config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "grid_case": {"$ref": "#/$defs/GridCase"}, "well_path": {"$ref": "#/$defs/WellPath", "description": "Well path to use"}}, "required": ["resinsight", "grid_case", "well_path"], "title": "SelectWellPathInput", "type": "object"}, "output_schema": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object"}}, {"name": "add_perf_2", "python_type": "taskmaestro_resinsight.add_perforation.AddPerforation", "depends_on": {"resinsight": {"task": "connect_to_resinsight", "field": null}, "well_path": {"task": "select_well_path_2", "field": null}}, "config_fields": ["end_md", "event_date", "start_md"], "provided_config_fields": ["end_md", "event_date", "start_md"], "missing_config_fields": [], "config_values": {"end_md": 2600.0, "event_date": "2024-02-01", "start_md": 2400.0}, "required_input_fields": ["end_md", "event_date", "resinsight", "start_md", "well_path"], "map": null, "input_schema": {"$defs": {"RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}, "WellPath": {"description": "Imported well trajectory.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}}, "required": ["value"], "title": "WellPath", "type": "object"}}, "description": "Input for AddPerforation: RipsInstance + well from upstream, MD range from config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "well_path": {"$ref": "#/$defs/WellPath"}, "event_date": {"description": "Perforation event date", "format": "date", "title": "Event Date", "type": "string"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["resinsight", "well_path", "event_date", "start_md", "end_md"], "title": "AddPerforationInput", "type": "object"}, "output_schema": {"description": "Output of AddPerforation: perforation interval details.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["value", "start_md", "end_md"], "title": "PerforationOutput", "type": "object"}}, {"name": "export_completions", "python_type": "taskmaestro_resinsight.export_completions.ExportCompletions", "depends_on": {"resinsight": {"task": "connect_to_resinsight", "field": null}, "grid_case": {"task": "select_eclipse_case", "field": null}, "perforation_1": {"task": "add_perf_1", "field": null}, "perforation_2": {"task": "add_perf_2", "field": null}}, "config_fields": ["event_date", "export_path"], "provided_config_fields": ["event_date", "export_path"], "missing_config_fields": [], "config_values": {"event_date": "2024-05-01", "export_path": "/tmp/completions.txt"}, "required_input_fields": ["event_date", "export_path", "grid_case", "perforation_1", "perforation_2", "resinsight"], "map": null, "input_schema": {"$defs": {"GridCase": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.Reservoir"}}, "required": ["value"], "title": "GridCase", "type": "object"}, "PerforationOutput": {"description": "Output of AddPerforation: perforation interval details.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.generated.generated_classes.WellPath"}, "start_md": {"title": "Start Md", "type": "number"}, "end_md": {"title": "End Md", "type": "number"}}, "required": ["value", "start_md", "end_md"], "title": "PerforationOutput", "type": "object"}, "RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object"}}, "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "grid_case": {"$ref": "#/$defs/GridCase"}, "perforation_1": {"$ref": "#/$defs/PerforationOutput"}, "perforation_2": {"$ref": "#/$defs/PerforationOutput"}, "event_date": {"description": "Perforation event date", "format": "date", "title": "Event Date", "type": "string"}, "export_path": {"description": "Path to write the completions file", "format": "path", "title": "Export Path", "type": "string"}}, "required": ["resinsight", "grid_case", "perforation_1", "perforation_2", "event_date", "export_path"], "title": "Inputs", "type": "object"}, "output_schema": {"properties": {"export_file": {"title": "Export File", "type": "string"}, "well_path_names": {"items": {"type": "string"}, "title": "Well Path Names", "type": "array"}}, "required": ["export_file", "well_path_names"], "title": "Outputs", "type": "object"}}]}, "describe_error": null, "status": "ok"}
|