Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • 0.1.5
  • 0.1.6
  • 0.2.0
  • 0.2.1
  • 0.2.2
  • 0.2.3
  • 0.2.4
  • 0.2.5
  • 0.2.6
10 results

Target

Select target project
  • VIPS/models/python/referencemodel
1 result
Select Git revision
  • main
  • 0.1.5
  • 0.1.6
  • 0.2.0
  • 0.2.1
  • 0.2.2
  • 0.2.3
  • 0.2.4
  • 0.2.5
  • 0.2.6
10 results
Show changes
Commits on Source (2)
...@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" ...@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "vips_reference_model" name = "vips_reference_model"
version = "0.2.1" version = "0.2.2"
description = "Example VIPS model, showcasing functionality" description = "Example VIPS model, showcasing functionality"
readme = "README.md" readme = "README.md"
authors = [{ name="Tor-Einar Skog", email="tor-einar.skog@nibio.no" }] authors = [{ name="Tor-Einar Skog", email="tor-einar.skog@nibio.no" }]
...@@ -19,7 +19,7 @@ dependencies = [ ...@@ -19,7 +19,7 @@ dependencies = [
"pydantic", "pydantic",
"pytz", "pytz",
"pandas", "pandas",
"vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.2.0" "vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.2.1"
] ]
requires-python = ">=3.9" requires-python = ">=3.9"
...@@ -28,7 +28,7 @@ requires-python = ">=3.9" ...@@ -28,7 +28,7 @@ requires-python = ">=3.9"
dev = ["bumpver", "pytest"] dev = ["bumpver", "pytest"]
[tool.bumpver] [tool.bumpver]
current_version = "0.2.1" current_version = "0.2.2"
version_pattern = "MAJOR.MINOR.PATCH" version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}" commit_message = "bump version {old_version} -> {new_version}"
commit = true commit = true
......
...@@ -58,7 +58,7 @@ class TestReferenceModel(unittest.TestCase): ...@@ -58,7 +58,7 @@ class TestReferenceModel(unittest.TestCase):
self.assertIsNotNone(result_list) self.assertIsNotNone(result_list)
last_result = result_list[len(result_list)-1] last_result = result_list[len(result_list)-1]
self.assertIsNotNone(result_list[0].valid_time_start) self.assertIsNotNone(result_list[0].valid_time_start)
self.assertEqual(555.8507083333333, last_result.all_values["TMDD"]) self.assertEqual(555.8507083333333, last_result.get_value("TMDD"))
def test_get_model_id(self): def test_get_model_id(self):
""" """
......