Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a987c45

Browse filesBrowse files
committed
remove import time prints
change runfile to native commands
1 parent 14a6148 commit a987c45
Copy full SHA for a987c45

File tree

Expand file treeCollapse file tree

4 files changed

+3
-6
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+3
-6
lines changed

‎spatialmath/base/argcheck.py

Copy file name to clipboardExpand all lines: spatialmath/base/argcheck.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import numpy as np
99
import math
1010

11-
print('loading base/argcheck.py')
1211

1312
def matrix(m, shape):
1413
assert ismatrix(m, shape)

‎spatialmath/pose2d.py

Copy file name to clipboardExpand all lines: spatialmath/pose2d.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ def inv(self):
131131
import pathlib
132132
import os.path
133133

134-
runfile(os.path.join(pathlib.Path(__file__).parent.absolute(), "test_pose2d.py") )
134+
exec(open(os.path.join(pathlib.Path(__file__).parent.absolute(), "test_pose2d.py")).read() )
135135

‎spatialmath/pose3d.py

Copy file name to clipboardExpand all lines: spatialmath/pose3d.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,5 @@ def trans(cls, x = None, y = None, z = None):
709709
import pathlib
710710
import os.path
711711

712-
#runfile(os.path.join(pathlib.Path(__file__).parent.absolute(), "test_pose3d.py") )
712+
exec(open(os.path.join(pathlib.Path(__file__).parent.absolute(), "test_pose3d.py")).read() )
713713

714-
a = SE3()
715-
print(a)

‎spatialmath/super_pose.py

Copy file name to clipboardExpand all lines: spatialmath/super_pose.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
try:
1717
from colored import fg, bg, attr
1818
_color = True
19-
print('using colored output')
19+
#print('using colored output')
2020
except ImportError:
2121
_color = False
2222
fg = lambda : ''

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.