Skip to content

Commit

Permalink
Merge branch 'expand-func-names' of https://github.com/biocpy/singlec…
Browse files Browse the repository at this point in the history
…ellexperiment into expand-func-names
  • Loading branch information
jkanche committed Jan 2, 2025
2 parents 220074a + fc53bc3 commit 77e6fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/singlecellexperiment/SingleCellExperiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def set_reduced_dimension(self, name: str, embedding: Any, in_place: bool = Fals
if in_place is False:
_tmp_red_dims = _tmp_red_dims.copy()
_tmp_red_dims[name] = embedding

_validate_reduced_dims(_tmp_red_dims, self._shape)
output._reduced_dims = _tmp_red_dims
return output
Expand Down Expand Up @@ -768,7 +768,7 @@ def set_alternative_experiment(
if in_place is False:
_tmp_alt_expt = _tmp_alt_expt.copy()
_tmp_alt_expt[name] = alternative_experiment

_validate_alternative_experiments(_tmp_alt_expt, self._shape)
output._alternative_experiments = _tmp_alt_expt
return output
Expand Down

0 comments on commit 77e6fad

Please sign in to comment.