Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError #10

Open
DHelix opened this issue Sep 28, 2018 · 2 comments
Open

RuntimeError #10

DHelix opened this issue Sep 28, 2018 · 2 comments

Comments

@DHelix
Copy link

DHelix commented Sep 28, 2018

Hi!

I created a python virtual environment using conda, and installed arboreto using the conda package manager.
I downloaded example files (from here https://github.com/tmoerman/arboreto/tree/master/resources/dream5/net1) and was trying to run run_grnboost2.py. I got the following error:

Exception ignored in: <generator object add_client at 0x1c1ca87830>
RuntimeError: generator ignored GeneratorExit
tornado.application - ERROR - Exception in Future <Future cancelled> after timeout
Traceback (most recent call last):
  File "/projects/djin_prj/Installs/conda/arboreto/lib/python3.6/site-packages/tornado/gen.py", line 970, in error_callback
    future.result()
concurrent.futures._base.CancelledError

Despite showing an error, it created an output file with 318832 lines.

I also created a python virtual environment using virtualevn, and installed arboreto using pip.
I ran the same run_grnboost2.py and it didn't report any error. It also create an output file with 318827 lines (fewer lines compared to the provious one).

Given the second output file containing fewer lines of result, I wasn't sure if the second method worked successful, or it also stopped in the middle but somehow didn't show any errrors on screen...

Could you please help me? Thanks!

UPDATE:
I ran run_grnboost2.py in the virtual environment created by virtualevn (the second method). Again, it didn't show any error, and created an output file. But this time the output file contained 318779 lines. I don't think arboreto finished successfully...

@tmoerman
Copy link
Contributor

tmoerman commented Sep 29, 2018

Hello,

it is normal that in different runs, a (slightly) different number of output lines is generated. The reason for this behaviour is that stochastic machine learning methods are used (gradient boosted decision tree regression). The general trends (strong predictors for a target gene) will be stable though.

I'm pretty sure the program is working correctly.
In general Tornado errors are occasionally thrown, you can safely ignore these.

regards,
Th.

@DHelix
Copy link
Author

DHelix commented Sep 29, 2018

Hi Thomas,

I really appreciate your prompt reply!
Aha, I see. thanks for the explanation of the number of output lines.
I actually ran arboreto in the first virtual environment (created using conda) a few times and the Tornado errors showed every time, not just occasionally... Maybe I should stick with the second installation?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants