Debugging code #118
-
Hi, I am trying to add a rsi divergence filter, but cannot know what's wrong with my code as no errors are printed when I execute the code. How do I disable the error suppressing? Edits in classes/Screener.py |
Beta Was this translation helpful? Give feedback.
Answered by
pranjal-joshi
May 16, 2022
Replies: 1 comment
-
Hi @anuphw, I'm glad that you find the tools useful and that you are looking forward to contribute. Screeni-py/src/classes/ParallelProcessing.py Lines 239 to 242 in 6d9f406 Also, You can try to debug by forcing multiprocessing to run only one child process by setting totalConsumer=1 for easy debugging.Lines 257 to 258 in 6d9f406 It would be great if you keep posting here about your developments for further integration. 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anuphw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @anuphw,
I'm glad that you find the tools useful and that you are looking forward to contribute.
Try adding exception printing in the following line before an
if
statement:Screeni-py/src/classes/ParallelProcessing.py
Lines 239 to 242 in 6d9f406
Also, You can try to debug by forcing multiprocessing to run only one child process by setting
totalConsumer=1
for easy debugging.Screeni-py/src/screenipy.py
Lines 257 to 258 in 6d9f406