aletlvl commited on
Commit
4bf7052
·
verified ·
1 Parent(s): 06e8dbd

Tokenization fixed

Browse files
Files changed (1) hide show
  1. tokenization_nicheformer.py +3 -0
tokenization_nicheformer.py CHANGED
@@ -277,6 +277,9 @@ class NicheformerTokenizer(PreTrainedTokenizer):
277
  """
278
  if isinstance(data, ad.AnnData):
279
  adata = data.copy()
 
 
 
280
 
281
  # Align with reference model if available
282
  if hasattr(self, '_load_reference_model'):
 
277
  """
278
  if isinstance(data, ad.AnnData):
279
  adata = data.copy()
280
+ print(f"modality dtype: {adata.obs['modality'].dtype}")
281
+ print(f"specie dtype: {adata.obs['specie'].dtype}")
282
+ print(f"assay dtype: {adata.obs['assay'].dtype}")
283
 
284
  # Align with reference model if available
285
  if hasattr(self, '_load_reference_model'):