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

Remove warning for divide by zero error in mesa quant #9

Open
hbeale opened this issue Oct 18, 2024 · 0 comments
Open

Remove warning for divide by zero error in mesa quant #9

hbeale opened this issue Oct 18, 2024 · 0 comments

Comments

@hbeale
Copy link
Collaborator

hbeale commented Oct 18, 2024

I get a warning message running mesa quant:

Dennis confirmed that dividing by zero is expected behavior for genes that are not expressed. We discussed turning off the warning before the divide statement and turning it back on after.

Calculating PS values...
/mnt/scratch/splicedice/splicedice_env/lib/python3.12/site-packages/mesa/MESA.py:306: RuntimeWarning: invalid value encountered in divide
  psi[self.junctionIndex[junction],:] = inclusions / (inclusions + exclusions)
        Done [0:00:1.28]
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

1 participant