Skip to content

Commit cb147e2

Browse files
spio.cosmx appends path two times to the file name Fixes #298
1 parent bbbfa24 commit cb147e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spatialdata_io/readers/cosmx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def cosmx(
256256
with tempfile.TemporaryDirectory() as tmpdir:
257257
print("converting .csv to .parquet to improve the speed of the slicing operations... ", end="")
258258
assert transcripts_file is not None
259-
transcripts_data = pd.read_csv(path / transcripts_file, header=0)
259+
transcripts_data = pd.read_csv(transcripts_file, header=0)
260260
transcripts_data.to_parquet(Path(tmpdir) / "transcripts.parquet")
261261
print("done")
262262

0 commit comments

Comments
 (0)