SingleCellExperiment icon indicating copy to clipboard operation
SingleCellExperiment copied to clipboard

Mistake Locks R Terminal

Open DarioS opened this issue 1 year ago • 1 comments

I notice a few times that if I make a mistake, the error message will be printed immediately but I won't be able to use the terminal for a few minutes and the process can't be interrupted. R has to be forcefully terminated.

> assay(fibroSCE, "merged") <- altExps(fibroSCE) # Intended to write altExp(fibroSCE, "merged")
Error in `assays<-`(`*tmp*`, withDimnames = withDimnames, ..., value = `*vtmp*`) : 
  please use 'assay(x, withDimnames=FALSE)) <- value' or 'assays(x,

It is doing something, but not clear what.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND   
2605798 dario     20   0   99.7g  83.7g 153432 R 100.0  11.1 160:09.35 rsession

In case it helps, I was trying to move something from main experiment to assay section, to make it useful for plotting.

reducedDimNames(2): PCA UMAP
mainExpName: merged
altExpNames(2): RNA SCT

DarioS avatar Apr 04 '24 23:04 DarioS

I have no idea. SCE's not doing any extra error handling for assay<-, AFAIK.

LTLA avatar Apr 05 '24 22:04 LTLA