This repository packages the MyModel
in my_model/model.py
for execution with Prefect using the flow described in my_model/flow/flow.py
using the variables:
variable name | type | default |
---|---|---|
input1 | scalar | 1 |
input2 | scalar | 2 |
variable_name | type |
---|---|
output1 | image |
output2 | scalar |
output3 | scalar |
This package may be installed using pip:
pip install git+https://github.com/jbellister-slac/lume-services-test-model
Install dev environment:
conda env create -f dev-environment.yml
Activate your environment:
conda activate my-model-dev
Install package:
pip install -e .
Tests can be executed from the root directory using:
pytest .
This README was automatically generated using the template defined in https://github.com/slaclab/lume-services-model-template with the following configuration:
{
"author": "Jesse",
"email": "jesseb@slac.stanford.edu",
"github_username": "jbellister-slac",
"github_url": "https://github.com/jbellister-slac/lume-services-test-model",
"project_name": "My Model",
"repo_name": "my-model",
"package": "my_model",
"model_class": "MyModel"
}