Describe the bug
After performing a slicing operation on an AnnData variable(single cell data, h5ad file read using Scanpy), the program crashed. Neither new variable can be detected, nor operations on existing variables can be recognized: the 'type-size-shape-content' of the displayed dataframe or int number do not change. However, if I view the contents of the dataframe using "View contents," I can see the changed data.
To Reproduce
Steps to reproduce the behavior:
import scanpy as sc
import pandas as pd
num = 6 # OK
df = pd.DataFrame({'A':[1,2,3], 'B':[4,5,6]}) # OK
adata = sc.datasets.blobs() # This is a small built-in dataset for reproduce. OK
adata1 = adata[0:10, ] # Crash happen, doesn't appear in variable inspector
num = 7 # doesn't change in 'type size shape content'
df = df['A'] # doesn't change in 'type size shape content', but change in 'view contents'
Screenshots
before crash:
after crash:
Your Environment(please complete the following information):
OS : linux
Browser : Edge
Version of this extension you are using :
jupyterlab 4.0.9
lckr_jupyterlab_variableinspector 3.1.0
Additional context
Looking forward to your reply. Thanks.
Describe the bug After performing a slicing operation on an AnnData variable(single cell data, h5ad file read using Scanpy), the program crashed. Neither new variable can be detected, nor operations on existing variables can be recognized: the 'type-size-shape-content' of the displayed dataframe or int number do not change. However, if I view the contents of the dataframe using "View contents," I can see the changed data.
To Reproduce Steps to reproduce the behavior:
Screenshots before crash:
after crash:
Your Environment(please complete the following information):
Additional context Looking forward to your reply. Thanks.