display multiple Visium datasets on top of H&E images
Closed this issue · 9 comments
Thanks for the rapid development of the function. I tried with the following command but got an error:
cirro concat --output MouseBrain_concat/ V1_Adult_Mouse_Brain/V1_Adult_Mouse_Brain.h5ad V1_Mouse_Brain_Sagittal_Posterior/V1_Mouse_Brain_post_sct.h5ad
Traceback (most recent call last):
File "/Users/zlu/miniconda3/bin/cirro", line 5, in
from cirrocumulus.main import main
File "/Users/zlu/miniconda3/lib/python3.7/site-packages/cirrocumulus/main.py", line 6, in
from cirrocumulus import concat, launch, prepare_data, serve
File "/Users/zlu/miniconda3/lib/python3.7/site-packages/cirrocumulus/concat.py", line 12, in
def concat_spatial(paths: list[str], output_dir: str, ncols: int = 2):
TypeError: 'type' object is not subscriptable
What can be the problem please?
There was a bug parsing the command line arguments. Can you please update to the latest version and try again? Also, can you please use Python 3.9 or later too? Thanks.
Hi Joshua,
I've updated Python to 3.10 and installed the latest version of Cirro. Now the concat function works. But it seems that the row and col values in the data were swapped while the images were unchanged. For a single dataset it works in the same way. Maybe need to fix something..
Thanks for your reply. I'm not sure what you mean that "row and col values in the data were swapped" Are you using version 1.1.52.post1? Thanks.
Thanks. I can reproduce the error now. The row and column pixel spot coordinates are swapped for Space Ranger output prior to version 2.0. Will fix shortly.
Fixed in latest release. Thanks.