Skip to content

Commit

Permalink
self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_n…
Browse files Browse the repository at this point in the history
…ames, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl) uses strings now (#35)
  • Loading branch information
davidsebfischer authored Dec 10, 2020
1 parent 6a37f0b commit 198350e
Show file tree
Hide file tree
Showing 109 changed files with 109 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
2 changes: 1 addition & 1 deletion sfaira/data/human/eye/human_eye_2020_microwell_han_001.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")

Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ def _load(self, fn=None):
self.adata.uns[self._ADATA_IDS_SFAIRA.normalization] = 'raw'
self.adata.uns[self._ADATA_IDS_SFAIRA.dev_stage] = self.dev_stage

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
2 changes: 1 addition & 1 deletion sfaira/data/human/kidney/human_kidney_2020_10x_liao_001.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ def _load(self, fn=None):
self.adata.obs[self._ADATA_IDS_SFAIRA.healthy] = True
self.adata.obs[self._ADATA_IDS_SFAIRA.state_exact] = 'healthy'

self._convert_and_set_var_names(symbol_col=ADATA_IDS_SFAIRA.gene_id_names, ensembl_col=ADATA_IDS_SFAIRA.gene_id_ensembl)
self._convert_and_set_var_names(symbol_col="names", ensembl_col="ensembl")
Loading

0 comments on commit 198350e

Please sign in to comment.