Skip to content

questions about reading data #4

Open

Description

@ikun-jinitaimei
...: data_dir = '/work/sjp/data/'

In [23]: scalesc = ssc.ScaleSC(data_dir=data_dir,
...: max_cell_batch=1e5, # no more than 1e5 is suggested
...: preload_on_cpu=True,
...: preload_on_gpu=True,
...: save_raw_counts=False,
...: save_norm_counts=False,
...: output_dir='test_scalesc_2.9M_results')
In [24]:
In [24]: print(scalesc.adata.shape)
(2915977, 5001)
In [25]: print(scalesc.reader.shape)
(-1, -1)

scalesc.reader.shape displays (-1, -1), which is very strange, causing problems in subsequent data processing. I implore you to help. Thank you!

Activity

  1. haotianzh commented on Mar 1, 2026

    @haotianzh
    Collaborator

    Hi kunkun, have you setup any cell or gene filters? I would recommend to set filters to both cell and gene as described in tutorial and try it again. You can set min_count=0 If you don't really need it.
    Just let me know if it doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions