Hi all,
Thank you for this amazing tool and resource!
I had to make a few modifications to get it installed on Windows 11 with Python 3.9
I created and activated a new environment,
conda create -n fishscale python=3.9
conda activate fishscale
Then I installed geopandas and jax manually
conda install geopandas
pip install "jax[cpu]===0.3.14" -f https://whls.blob.core.windows.net/unstable/index.html --use-deprecated legacy-resolver
Then I was able to install fishscale from inside the repo folder
pip install -e .
However, when I load up the multi-dataset tutorial, I get the following error on the Load Data block
FileNotFoundError Traceback (most recent call last)
Cell In[5], line 4
1 #Collect files
2 color_dict = pickle.load(open(data_path + 'Mouse_atlas_168_color_dict.pkl', 'rb'))
----> 4 md = dataset.MultiDataset(data_path,
5 x_label='c_px_microscope_stitched',
6 y_label= 'r_px_microscope_stitched',
7 gene_label = 'decoded_genes',
8 pixel_size='0.18 micrometer',
9 select_valid=True,
10 color_input=color_dict,
11 reparse=True,
12 unique_genes=None,
13 verbose=True,
14 exclude_genes=['Control1', 'Control2', 'Control3', 'Control4', 'Control5','Control6', 'Control7', 'Control8'],
15 z=[-140, 600, 1200, 1810, 2420, 3000, 3600])
17 # Have olfactory bulb pointing left.
18 for mdd in md.datasets:
File c:\users\dpshe\documents\github\fishscale\FISHscale\utils\dataset.py:673, in MultiDataset.__init__(self, data, data_folder, unique_genes, MultiDataset_name, color_input, verbose, grid_layout, columns_layout, x_label, y_label, gene_label, other_columns, exclude_genes, z, pixel_size, x_offset, y_offset, z_offset, polygon, select_valid, reparse, parse_num_threads)
671 if parse_num_threads == -1 or parse_num_threads > self.cpu_count:
672 parse_num_threads = self.cpu_count
--> 673 self.load_from_files(data, x_label, y_label, gene_label, other_columns, unique_genes, exclude_genes, z,
674 pixel_size, x_offset, y_offset, z_offset, polygon, select_valid, reparse, color_input,
...
88 file_name = path.join(self.FISHscale_data_folder, f'{self.dataset_name}_metadata.pkl')
---> 89 with open(file_name, 'wb') as pf:
90 pickle.dump(data_dict, pf)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\dpshe\\Downloads\\20324814\\211114_08_40_50_LBEXP20200925_EEL_Mouse_-140um_data_summary_simple_plotting_cleaned_microscope_stitched_FISHscale_Data\\211114_08_40_50_LBEXP20200925_EEL_Mouse_-140um_data_summary_simple_plotting_cleaned_microscope_stitched_metadata.pkl'
The directory is created, but no .pkl file is added. Any suggestions on how to get it running?
Thanks!
Doug
Hi all,
Thank you for this amazing tool and resource!
I had to make a few modifications to get it installed on Windows 11 with Python 3.9
I created and activated a new environment,
Then I installed geopandas and jax manually
Then I was able to install
fishscalefrom inside the repo folderpip install -e .However, when I load up the multi-dataset tutorial, I get the following error on the Load Data block
The directory is created, but no .pkl file is added. Any suggestions on how to get it running?
Thanks!
Doug