Skip to content

Commit

Permalink
Register writers for SE, SCE and MAE (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche authored May 21, 2024
1 parent 01c0f26 commit 67d4cf5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dolomite_base/read_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@
"string_factor": "dolomite_base.read_string_factor",
"simple_list": "dolomite_base.read_simple_list",
"data_frame": "dolomite_base.read_data_frame",

"dense_array": "dolomite_matrix.read_dense_array",
"compressed_sparse_matrix": "dolomite_matrix.read_compressed_sparse_matrix",

"genomic_ranges": "dolomite_ranges.read_genomic_ranges",
"genomic_ranges_list": "dolomite_ranges.read_genomic_ranges_list",
"sequence_information": "dolomite_ranges.read_sequence_information",

"summarized_experiment": "dolomite_se.read_summarized_experiment",
"range_summarized_experiment": "dolomite_se.read_ranged_summarized_experiment",

"single_cell_experiment": "dolomite_sce.read_single_cell_experiment",

"multi_sample_dataset": "dolomite_mae.read_multi_assay_experiment",
}

Expand Down
6 changes: 6 additions & 0 deletions src/dolomite_base/save_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"csr_matrix": "dolomite_matrix",
"coo_matrix": "dolomite_matrix",
"DelayedArray": "dolomite_matrix",

"SummarizedExperiment": "dolomite_se",
"RangedSummarizedExperiment": "dolomite_se",

"SingleCellExperiment": "dolomite_sce",
"MultiAssayExperiment": "dolomite_mae"
}


Expand Down

0 comments on commit 67d4cf5

Please sign in to comment.