Skip to content

Implement basic H5AD features - #70

Merged
rcannood merged 97 commits into
mainfrom
hdf5-structure
May 10, 2023
Merged

rcannood merged 97 commits into
mainfrom
hdf5-structure

Conversation

@lazappi

@lazappi lazappi commented May 5, 2023 •

Copy link
Copy Markdown
Collaborator

Implements the basic slots for the H5AD interface.

These features are done:

Interface methods

Lower level functions (many from @LouiseDck via #67)

Tests:

  • Round-trip Python anndata -> file.h5ad -> R anndataR tests have been added.

Other:

  • Added roadmap comments

Still to do:

  • A lot of read functions are still failing or generating warnings
  • Write functions are untested and are expected to be failing
  • Write layers and write data frame
  • Will add round-trip R anndataR -> file.h5ad -> Python anndata tests

lazappi and others added 30 commits April 27, 2023 15:07
…f5-structure

* 'hdf5-structure' of github.com:scverse/scverseio:
  add read_hdf5_encoding, read_hdf5_dense_array
  add inst extdata
  add functions to spec
  simplify dim since var and obs should always exist
  add validators to the inmemory constructor
  Add unit tests
  add more functions to the spec
  Add print, dim, obs_names and var_names to the abstractanndata
* origin/main:
  move validator functions
  add tests
  move obs and var names to separate field
  add checks for X
  rename dim to shape
* origin/hdf5-content:
  implement read_h5ad_mapping
  Align styles, document
  read_h5ad_sparse_array, fix columnmajor / rowmajor in dense arrays, and return vector if these matrices are 1D
…calar, read_h5ad_string_scalar, fix importFroms
Also make read_h5ad_encoding() more specific
* origin/main:
  update SingleCellExperiment unit tests and man pages
  fix warning when obs or var has zero rows
  export InMemoryAnnData class
  Add n_obs and n_vars to AbstractAnnData
  update to_SingleCellExperiment() documentation
  implement AnnData_to_SingleCellExperiment
Needs obs/var to work first
* origin/hdf5-content:
  read_h5ad_string_array implementation, including adapted python anndata file
  dense array and categorical dimension fix, keep names when iterating over mapping or dataframe
  adapt python test script, fix read_h5ad_encoding, read_h5ad_numeric_scalar, read_h5ad_string_scalar, fix importFroms
@rcannood

rcannood commented May 9, 2023

Copy link
Copy Markdown
Member
  • Round-trip Python anndata -> file.h5ad -> R anndataR tests have been added.
  • Will add round-trip R anndataR -> file.h5ad -> Python anndata tests
  • A lot of read functions are still failing or generating warnings
  • Write functions are untested and are expected to be failing

@rcannood

rcannood commented May 9, 2023

Copy link
Copy Markdown
Member

Updated first message in this PR to reflect current status ;)

@rcannood
rcannood marked this pull request as ready for review May 10, 2023 07:58
@rcannood
rcannood merged commit 867b35b into main May 10, 2023
@rcannood

rcannood commented May 10, 2023 •

Copy link
Copy Markdown
Member

I'm merged this PR into the main. A lot of functionality is still broken, but PRs #64 and #72 are sortof waiting for changes implemented in this PR.

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

Labels

h5ad Issues related to H5AD files

Projects

None yet

3 participants