Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
oldroco
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Zhao
oldroco
Commits
476b22e0
Commit
476b22e0
authored
6 years ago
by
mehtank
Browse files
Options
Downloads
Patches
Plain Diff
Clearer mismatched edge reporting
parent
af320395
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
svggen/api/composables/graph/HyperEdge.py
+2
-2
2 additions, 2 deletions
svggen/api/composables/graph/HyperEdge.py
with
2 additions
and
2 deletions
svggen/api/composables/graph/HyperEdge.py
+
2
−
2
View file @
476b22e0
...
...
@@ -125,7 +125,7 @@ class HyperEdge:
try
:
if
self
.
pts2D
is
not
None
:
if
np
.
differenceExceeds
(
self
.
pts2D
,
pts2D
,
self
.
TOL
):
print
"
###
"
print
"
###
Mismatched 2D transforms for edge %s
"
%
self
.
name
print
self
.
pts2D
print
pts2D
print
np
.
difference
(
self
.
pts2D
,
pts2D
)
...
...
@@ -133,7 +133,7 @@ class HyperEdge:
# raise ValueError( "Mismatched 2D transforms for edge %s " % self.name )
if
self
.
pts3D
is
not
None
:
if
np
.
differenceExceeds
(
self
.
pts3D
,
pts3D
,
self
.
TOL
):
print
"
###
"
print
"
###
Mismatched 3D transforms for edge %s
"
%
self
.
name
print
self
.
pts3D
print
pts3D
print
np
.
difference
(
self
.
pts3D
,
pts3D
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment