Skip to content

naixard/sesam-examples

 
 

Repository files navigation

Sesam Examples

Repository to demonstrate the use of OneWorkflow. The repository contains various Jupyter notebook examples demonstrating how to run Sesam applications in a workflow including custom Python scripts. This code is only a pilot and only intended for testing. Currently we have support for Wasim, Sestra, GeniERuntime and Sesam Core.

Introduction to OneWorkflow

OneWorkflow is an integrated workflow development system designed to seamlessly incorporate different aspects of the workflow process, including various tools, modules, and services, to create a comprehensive and interconnected solution. This integration streamlines the workflow, improves efficiency, and facilitates a more cohesive and unified approach to the development process. OneWorkflow has a UI-less interface, focusing on providing a powerful backend for workflow automation. It has also the capability to use the same code for running locally or in the cloud using OneCompute.

Prerequisites required

Python

Install Python 3.10, 3.11 or 3.12, typically for windows you want this version. One important note during the installation is to select the option 'Add python.exe to the PATH' (as shown in the image below). This option is turned off by default, so make sure to activate it for a smoother development experience image Verify the Default Python Version: To ensure a smooth development experience, it's important to confirm the default Python version on your system, especially if you have multiple Python installations:

  • Start the command line (Windows-start-menu --> type cmd --> enter)
  • Type python --version enter

VSCode

Download and install Visual Studio Code from the official website. Visual Studio Code is a free, open-source code editor that provides excellent support for various programming languages and extensions, making it a popular choice for developers. VSCode including the following extensions (install them after VSCode is installed). Jupyter and Python will most likely be installed automatically when opening an ipynb file.

git

You also need git for cloning this code. With git installed you can clone this repository by starting a command line prompt in the folder where you want this repository to be located: git clone https://github.com/dnv-opensource/improveflowH4-workflow.git

You need the relevant Sesam products with license for local runs. In addition you need Application Version Manager (no license required) for local execution. You can get the Sesam applications here: https://sesam.dnv.com/download/programs.html.

To run in the cloud you need to contact DNV and have an account in https://test.onecompute.dnv.com/

Follow the instructions in the installation notebook to see how to install the required tools. They are required for all the notebooks.

Examples provided

  1. SifIO Example demonstrates how to use SifIO a .net API for read and write access of SIF data types to Sesam Interface Files.

About

Sesam Examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 91.3%
  • Python 8.4%
  • JavaScript 0.3%