Closed pchiang5 closed 1 year ago
Hi, I would explore these three questions to figure out what's going on:
pl.graph
makes sense? pp_info
show 0 assigned segs after running tl.root
and before running tl.pseudotime
? tl.pseudotime
with only one mapping (parameter n_map=1
)?Hello
tl.psuedotime
.n_map =1
I found the problem was due to cr.tl.lineages(WA, backward= False)
of the cellrank package.
In [33]: cr.tl.lineages(WA, backward= False)
:1: DeprecationWarning: `cellrank.tl.lineages` will be removed in version `2.0`. Please use the `cellrank.kernels` or `cellrank.estimators` interface instead. cr.tl.lineages(WA, backward= False) 100%|███████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 7.70/s] [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Caught signal number 13 Broken Pipe: Likely while reading or writing to a socket [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger [0]PETSC ERROR: or see https://petsc.org/release/faq/#valgrind and https://petsc.org/release/faq/ [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run [0]PETSC ERROR: to get more information on the crash. application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0 [unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=59 : system msg for write_line failure : Bad file descriptor
When I switch from ipython to python, the error was done and the seg showed correctly. Maybe a piece of information failed to add on the WA due to the error.
Millions of thanks for your prompt response!
WA.uns['graph']['pp_info'] PP time seg 0 0 1.598479 3 1 1 1.592943 2 2 2 1.187386 3 3 3 1.598616 3 4 4 0.375064 1 .. ... ... .. 295 295 0.007861 1 296 296 1.598503 3 297 297 1.332531 2 298 298 1.592014 3 299 299 0.662050 3
[300 rows x 3 columns]
Hello,
Thank you for the tool.
When I tried to convert a cellrank object by your protocol. The initial steps ran without problems
However, the pseudotime step showed the NAN error:
After looking into the files, I found the seg assignment in 'pp_info' was all 0s and the milestones were all NAN. The pancreas dataset on your website could run without any issues.
Could you help resolve the issue? Thanks again.