Skip to content
Snippets Groups Projects
Commit aff6c387 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Refactoring module

parent f74cb4a6
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "reference_model"
name = "vips_reference_model"
version = "0.1.5"
description = "Example VIPS model, showcasing functionality"
readme = "README.md"
......@@ -19,7 +19,7 @@ dependencies = [
"pydantic",
"pytz",
"pandas",
"vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@v0.1.6"
"vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.1.6"
]
requires-python = ">=3.9"
......
......@@ -2,7 +2,7 @@ import unittest
import json
from src.reference_model.reference_model import *
from src.vips_reference_model.reference_model import *
from vipscore_common.entities import *
def get_model_configuration():
......@@ -24,7 +24,9 @@ class TestReferenceModel(unittest.TestCase):
"""
#print(get_model_configuration())
instance = ReferenceModel()
instance.set_configuration(get_model_configuration())
mc=get_model_configuration()
#print(mc.json())
instance.set_configuration(mc)
def test_get_result(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment