Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ReferenceModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
Models
Python
ReferenceModel
Compare revisions
95e20875d015669d222007eda72b2fbb344ef66b to 76199f6be2ad950b92450c912185252580f07868
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
VIPS/models/python/referencemodel
Select target project
No results found
76199f6be2ad950b92450c912185252580f07868
Select Git revision
Swap
Target
VIPS/models/python/referencemodel
Select target project
VIPS/models/python/referencemodel
1 result
95e20875d015669d222007eda72b2fbb344ef66b
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Test update. Bump dependency to vips-common
· 62259ae6
Tor-Einar Skog
authored
2 years ago
62259ae6
bump version 0.2.1 -> 0.2.2
· 76199f6b
Tor-Einar Skog
authored
2 years ago
76199f6b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+3
-3
3 additions, 3 deletions
pyproject.toml
tests/test_reference_model.py
+1
-1
1 addition, 1 deletion
tests/test_reference_model.py
with
4 additions
and
4 deletions
pyproject.toml
View file @
76199f6b
...
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name
=
"vips_reference_model"
version
=
"0.2.
1
"
version
=
"0.2.
2
"
description
=
"Example VIPS model, showcasing functionality"
readme
=
"README.md"
authors
=
[
{
name
=
"Tor-Einar Skog"
,
email
=
"tor-einar.skog@nibio.no"
}
]
...
...
@@ -19,7 +19,7 @@ dependencies = [
"pydantic"
,
"pytz"
,
"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
"
...
...
@@ -28,7 +28,7 @@ requires-python = ">=3.9"
dev
=
[
"bumpver"
,
"pytest"
]
[tool.bumpver]
current_version
=
"0.2.
1
"
current_version
=
"0.2.
2
"
version_pattern
=
"MAJOR.MINOR.PATCH"
commit_message
=
"bump version {old_version} -> {new_version}"
commit
=
true
...
...
This diff is collapsed.
Click to expand it.
tests/test_reference_model.py
View file @
76199f6b
...
...
@@ -58,7 +58,7 @@ class TestReferenceModel(unittest.TestCase):
self
.
assertIsNotNone
(
result_list
)
last_result
=
result_list
[
len
(
result_list
)
-
1
]
self
.
assertIsNotNone
(
result_list
[
0
].
valid_time_start
)
self
.
assertEqual
(
555.8507083333333
,
last_result
.
all
_value
s
[
"
TMDD
"
]
)
self
.
assertEqual
(
555.8507083333333
,
last_result
.
get
_value
(
"
TMDD
"
)
)
def
test_get_model_id
(
self
):
"""
...
...
This diff is collapsed.
Click to expand it.