Debug Tips
#192
Replies: 2 comments 2 replies
-
I'm not sure I fully follow what you mean by 'debugging routine'. Do mean just testing code?
cd geowombat/
git checkout -b jgrss/sandbox
(test.venv) pip install --user -e .
Is that what you are asking? |
Beta Was this translation helpful? Give feedback.
2 replies
-
No rush on this, I just figured out the issue. I forgot to append the path before the import:
Silly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@jgrss
My debugging routine has been to have a env with all the depedencies installed but not geowombat, and inserting a debug.py script in the geowombat foolder and importing gw locally.
Since geowombat has moved into src/geowombat this has gone tits up. Even if I put the script in the src folder, its not importing geowombat. I need to import src.geowombat and update all references in the code. What's your debugging routine?
Beta Was this translation helpful? Give feedback.
All reactions