rgi icon indicating copy to clipboard operation
rgi copied to clipboard

ValueError: zero-size array to reduction operation fmin which has no identity

Open neelam19051 opened this issue 2 years ago • 0 comments

Hi, i am trying to run rgi heatmap and it gives following error.

rgi heatmap --input /home/bvs/Neelam/rgi/res_test --output out

Traceback (most recent call last): File "/home/bvs/.local/bin/rgi", line 4, in MainBase() File "/home/bvs/.local/lib/python3.8/site-packages/app/MainBase.py", line 82, in init getattr(self, args.command)() File "/home/bvs/.local/lib/python3.8/site-packages/app/MainBase.py", line 336, in heatmap self.heatmap_run(args) File "/home/bvs/.local/lib/python3.8/site-packages/app/MainBase.py", line 357, in heatmap_run obj.run() File "/home/bvs/.local/lib/python3.8/site-packages/app/Heatmap.py", line 836, in run g = sns.heatmap(df, cmap=custom_cmap, cbar=False, norm=norm) #linewidth=0.5 File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/_decorators.py", line 46, in inner_f return f(**kwargs) File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 540, in heatmap plotter = _HeatMapper(data, vmin, vmax, cmap, center, robust, annot, fmt, File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 159, in init self._determine_cmap_params(plot_data, vmin, vmax, File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 198, in _determine_cmap_params vmin = np.nanmin(calc_data) File "<array_function internals>", line 180, in nanmin File "/home/bvs/.local/lib/python3.8/site-packages/numpy/lib/nanfunctions.py", line 344, in nanmin res = np.fmin.reduce(a, axis=axis, out=out, **kwargs) ValueError: zero-size array to reduction operation fmin which has no identity

Thank you!

neelam19051 avatar Jul 05 '22 04:07 neelam19051