Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qim3d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QIM
Tools
qim3d
Merge requests
!28
Implementation of unittests for vizualization functions + modification of load tests to run for Windows users.
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Implementation of unittests for vizualization functions + modification of load tests to run for Windows users.
Viz_Unittests
into
main
Overview
0
Commits
2
Pipelines
0
Changes
8
Merged
Implementation of unittests for vizualization functions + modification of load tests to run for Windows users.
ofhkr
requested to merge
Viz_Unittests
into
main
Nov 2, 2023
Overview
0
Commits
2
Pipelines
0
Changes
8
In this branch the following were implemented:
All vizualization tools now return the figure instead of simply plotting.
Test functions have been implemented for all vizualization tools.
The
test_save.py
and
test_load.py
files were modified so the test functions also pass on Windows.
0
0
Merge request reports
Viewing commit
11eff586
Prev
Next
Show latest version
8 files
+
160
−
39
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
11eff586
test for the vizualization functions + changes to test_img & test_load (adapting to windows).
· 11eff586
s184364
authored
Nov 1, 2023
qim3d/io/load.py
+
2
−
2
View file @ 11eff586
Edit in single-file editor
Open in Web IDE
Show full file
@@ -321,8 +321,8 @@ class DataLoader:
similar_paths
=
difflib
.
get_close_matches
(
path
,
valid_paths
)
if
similar_paths
:
suggestion
=
similar_paths
[
0
]
# Get the closest match
message
=
f
"
Invalid path.
\n
Did you mean
'
{
suggestion
}
'
?
"
raise
ValueError
(
message
)
message
=
f
"
Invalid path.
Did you mean
'
{
suggestion
}
'
?
"
raise
ValueError
(
repr
(
message
)
)
else
:
raise
ValueError
(
"
Invalid path
"
)
Loading