-
Notifications
You must be signed in to change notification settings - Fork 4
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
FloatingPointError: divide by zero encountered in true_divide #26
Comments
Can you post a ZIP file with the exact inputs you are using to run your command of:
I guess these would be the file I think some but not all of these files are in the tutorial, so I just want to make sure I am debugging with the correct input files. |
Package and support much appreciated!! Attached are the files used for input ... |
@SternLabTAU: Are you running I don't get the error on Linux or Mac, but Googling around it sounds like there can be some differences in floating point match on Windows versus Linux / Mac that could be causing small numbers to be rounded to zero. It seems like there are various compiler flags that can be set to fix this, but since I can't reproduce the error myself on my computer it's hard for me to try these out. So basically:
|
I ran phydms on Linux with CentOS7. I can try and install on a Mac and see if the error is reproduced. |
OK, let me know if that works. Sorry... |
Same error on a Mac:
|
I'm not sure why you are getting these errors on your installations and we aren't. It's obviously hard to debug because we can't reproduce it. But I wonder if it has to do with something else in your @skhilton: Would you want to make a full |
@jbloom: sounds good. I will work on that today. |
I was not able to reproduce the error on my local or on the server. However, I was able to reproduce the error using this |
@SternLabTAU: Sorry for this error! We think we've come up with a partial solution. We think this error is a results of some I've attached a directory with 5 files: I would suggest:
Please let us know by posting in this thread if this solution works or doesn't work or if you have any questions! |
thanks, will give it a shot asap! |
When running the Exp_CM model, the error below keeps coming up. This occurs even when running on the beta_lactamase dataset given as an example:
The text was updated successfully, but these errors were encountered: