-
Notifications
You must be signed in to change notification settings - Fork 1
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
Chronocell PBMC Trajectory Inference Step - Nan Value Normalization Error #10
Comments
Thank you so much for your interest in Chronocell! Regarding the error message about new_Q containing NaN values, I wasn’t sure whether the NaNs were already present in the input Q or if they were introduced within the normalize_Q function. I reran the notebook, but somehow the error didn’t appear, though I suspect my environment might be outdated. So I added
at the end of the normalized_Q function. You can either pull the changes (commit check Q in update_Q) or add it directly. Could you try it again to see whether NaNs were already in Q in order to narrow down which function produces the NaNs? |
Hi, thank you so much for your response! where I see this error: From my assertion I get this: I actually noticed that this error only comes up with a few seeds in particular, and most of the seeds work just fine. To get around this, I temporarily added a small epsilon value to the sum as I was suspecting this was due to a division by zero, and it works fine now. Would this be an appropriate workaround in your opinion?
|
That's cool! Glad to hear it’s working well for you! |
Hi,
I'm heavily interested in trajectory inference and I was very interested in learning more about Chronocell after reading the preprint.
I am currently trying to run the PBMC notebook to understand the steps better.
But, I'm running into an issue with the trajectory portion.
Specifically, I am seeing an error with the normalization function in the fit method where it is saying that 'new_Q contains NaN value'.
I've attached a screenshot of the code block where this occurs:
I've been following the notebook step by step to try to reproduce it and all the previous steps have been working well with no issues, so it's curious that normalization isn't working as planned.
I was wondering if there was any insight you could provide, thank you!
The text was updated successfully, but these errors were encountered: