---------------------------------------------------------------------------
Exception Traceback (most recent call last)
Cell In[5], line 1
----> 1 ins.export_high_res_area(
2 data_path,
3 './SS200000135TL_D1.tissue.high_res.gef',
4 # drop=True
5 )
File ~/project/AS_human/porject_envs/st/lib/python3.8/site-packages/stereo/plots/interact_plot/poly_selection.py:281, in PolySelection.export_high_res_area(self, origin_file_path, output_path, drop)
279 make_dirs(output_path)
280 if self.data.file_format == 'gef':
--> 281 coors = self.get_selected_area_coors(drop)
282 # print('coors length: %s' % len(coors))
283 if not coors or len(coors) == 0:
File ~/project/AS_human/porject_envs/st/lib/python3.8/site-packages/stereo/plots/interact_plot/poly_selection.py:138, in PolySelection.get_selected_area_coors(self, drop)
137 def get_selected_area_coors(self, drop=False) -> list:
--> 138 selected_exp_data = self.get_selected_areas(drop)
139 if selected_exp_data is not None:
140 return selected_exp_data.position.tolist()
File ~/project/AS_human/porject_envs/st/lib/python3.8/site-packages/stereo/plots/interact_plot/poly_selection.py:150, in PolySelection.get_selected_areas(self, drop)
144 """
145 get selected area exp boundary coords, list contains each x,y
146 Returns:
147
148 """
149 if len(self.list_poly_selection_coors) == 0:
--> 150 raise Exception('Please select the data area in the picture first!')
152 print("processing selected {} area".format(len(self.list_poly_selection_coors)))
153 # list_poly_selection_exp_coors = []
154 # data_set = set()
Exception: Please select the data area in the picture first!
hello
stereopy using interact_spatial_scatter cannot save or export lasso area
version = 1.4.1