Skip to content

Commit

Permalink
minor cosmx protein reader improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinblampey committed Apr 10, 2024
1 parent 4693653 commit 19d8118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopa/io/reader/cosmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def cosmx(
if read_proteins:
protein_dir_dict = {
int(protein_dir.parent.name[3:]): protein_dir
for protein_dir in list(path.rglob("**/ProteinImages"))
for protein_dir in list(path.rglob("**/FOV*/ProteinImages"))
}
assert len(protein_dir_dict), f"No directory called 'ProteinImages' was found under {path}"

Expand Down

0 comments on commit 19d8118

Please sign in to comment.