Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Python Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Tools
Python Toolbox
Merge requests
!19
Migrate to pyproject
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Migrate to pyproject
pyproject-migration
into
master
Overview
3
Commits
2
Pipelines
2
Changes
11
All threads resolved!
Hide all comments
Merged
Manon Blanco
requested to merge
pyproject-migration
into
master
9 months ago
Overview
3
Commits
2
Pipelines
2
Changes
11
All threads resolved!
Hide all comments
Expand
Closes
#8 (closed)
&
#9 (closed)
Edited
9 months ago
by
Manon Blanco
0
0
Merge request reports
Compare
master
version 1
8c84caea
9 months ago
master (base)
and
latest version
latest version
aa125b0d
2 commits,
9 months ago
version 1
8c84caea
1 commit,
9 months ago
11 files
+
58
−
60
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
teklia_toolbox/pagexml.py
+
1
−
1
Options
@@ -78,7 +78,7 @@ class Region(PageXmlElement):
assert
len
(
list_x
)
==
len
(
list_y
),
"
the list of x and y coordinates do not have the same lengths
"
for
x
,
y
in
zip
(
list_x
,
list_y
):
for
x
,
y
in
zip
(
list_x
,
list_y
,
strict
=
True
):
points
.
append
((
int
(
x
),
int
(
y
)))
return
points
else
:
Loading