Skip to content

Commit 8b5af39

Browse files
committed
debug GH
1 parent 283de09 commit 8b5af39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roboticstoolbox/tools/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,19 @@ def path_to_datafile(filename):
7979
if filename.parent == Path():
8080
# just a filename, no path, assume it is in roboticstoolbox/data
8181
p = Path(__file__).parent.parent / 'data' / filename
82-
print(f"{p=}")
82+
print(f"p={p}")
8383
if p.exists():
8484
print(f"returning")
8585
return str(p.resolve())
8686

8787

8888
p = filename.expanduser()
8989
p = p.resolve()
90-
print(f"continuing {p=}")
90+
print(f"continuing p={p}")
9191
if not p.exists():
9292
print(f"File '{p}' does not exist")
9393
raise FileNotFoundError(f"File '{p}' does not exist")
94-
print(f"returning {p=}")
94+
print(f"returning p={p}")
9595
return str(p)
9696

9797
if __name__ == "__main__":

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy