ctheodoris
commited on
Commit
•
344f263
1
Parent(s):
4b4547f
reinstate save_to_disk patch
Browse files- geneformer/tokenizer.py +1 -1
geneformer/tokenizer.py
CHANGED
@@ -175,7 +175,7 @@ class TranscriptomeTokenizer:
|
|
175 |
)
|
176 |
|
177 |
output_path = (Path(output_directory) / output_prefix).with_suffix(".dataset")
|
178 |
-
tokenized_dataset.save_to_disk(output_path)
|
179 |
|
180 |
def tokenize_files(
|
181 |
self, data_directory, file_format: Literal["loom", "h5ad"] = "loom"
|
|
|
175 |
)
|
176 |
|
177 |
output_path = (Path(output_directory) / output_prefix).with_suffix(".dataset")
|
178 |
+
tokenized_dataset.save_to_disk(str(output_path))
|
179 |
|
180 |
def tokenize_files(
|
181 |
self, data_directory, file_format: Literal["loom", "h5ad"] = "loom"
|