You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"Alternative experiment: '{alt_name}' must be a 2-dimensional object."
"Does not contain a `shape` property."
)
ifshape[1] !=alternative_experiment.shape[1]:
raiseValueError(
f"Alternative experiment: '{alt_name}' does not contain same number of"
" cells."
)
In Bioconductor's SingleCellExperiment class the colDatarowNames of the altExps is expected to be that same as the colDatarowNames of the main experiment. Currently in Bioconductor if this is not the case the offending colDatarowNames are overwritten by those of the main experiment and a Warning is raised that in a future version this will raise an error instead.
Currently in BiocPy's SingleCellExperiment no checks occur whatsoever for identity between main and alternative_experimentscolumn_datarow_names.
I propose SingleCellExperiment of BiocPy should raise an Exception if the column_datarow_names of the alternative_experiments are not the same those of the main experiment.
The text was updated successfully, but these errors were encountered:
DiDeoxy
changed the title
Raise a Exception if the column_data row_names of the alternative_experiments are not the same as those of the main experiment.
Raise an Exception if the column_datarow_names of the alternative_experiments are not the same as those of the main experiment.
Oct 31, 2024
SingleCellExperiment/src/singlecellexperiment/SingleCellExperiment.py
Lines 53 to 73 in bb230b5
In Bioconductor's
SingleCellExperiment
class thecolData
rowNames
of thealtExps
is expected to be that same as thecolData
rowNames
of the main experiment. Currently in Bioconductor if this is not the case the offendingcolData
rowNames
are overwritten by those of the main experiment and a Warning is raised that in a future version this will raise an error instead.Currently in BiocPy's
SingleCellExperiment
no checks occur whatsoever for identity between main andalternative_experiments
column_data
row_names
.I propose
SingleCellExperiment
of BiocPy should raise an Exception if thecolumn_data
row_names
of thealternative_experiments
are not the same those of the main experiment.The text was updated successfully, but these errors were encountered: