Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Invalid win_type gaussian #26

Open
sunqiangzai opened this issue Jun 19, 2024 · 2 comments
Open

ValueError: Invalid win_type gaussian #26

sunqiangzai opened this issue Jun 19, 2024 · 2 comments

Comments

@sunqiangzai
Copy link

/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/count.py:594: FutureWarning: The default value of numeric_only in DataFrameGroupBy.sum is deprecated. In a future version, numeric_only will default to False. Either specify numeric_only or select only columns which should be valid for the function. Traceback (most recent call last): File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/bin/lapa", line 33, in <module> sys.exit(load_entry_point('lapa==0.0.5', 'console_scripts', 'lapa')()) File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/main.py", line 112, in cli_lapa File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/lapa.py", line 497, in lapa File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/lapa.py", line 293, in __call__ File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/lapa.py", line 149, in clustering File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 377, in to_df File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 378, in <listcomp> File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 255, in to_dict File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 135, in to_dict File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 118, in peak File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/pandas/core/generic.py", line 11986, in rolling return Window( File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/pandas/core/window/rolling.py", line 165, in __init__ self._validate() File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/pandas/core/window/rolling.py", line 1168, in _validate raise ValueError(f"Invalid win_type {self.win_type}") ValueError: Invalid win_type gaussian

@sunqiangzai
Copy link
Author

/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/count.py:594: FutureWarning: The default value of numeric_only in DataFrameGroupBy.sum is deprecated. In a future version, numeric_only will default to False. Either specify numeric_only or select only columns which should be valid for the function.
Traceback (most recent call last):
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/bin/lapa", line 33, in
sys.exit(load_entry_point('lapa==0.0.5', 'console_scripts', 'lapa')())
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/main.py", line 112, in cli_lapa
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/lapa.py", line 497, in lapa
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/lapa.py", line 293, in call
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/lapa.py", line 149, in clustering
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 377, in to_df
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 378, in
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 255, in to_dict
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 135, in to_dict
File "/home/sutai/.local/lib/python3.10/site-packages/lapa-0.0.5-py3.10.egg/lapa/cluster.py", line 118, in peak
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/pandas/core/generic.py", line 11986, in rolling
return Window(
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/pandas/core/window/rolling.py", line 165, in init
self._validate()
File "/home/sutai/biosoft/localcolabfold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/pandas/core/window/rolling.py", line 1168, in _validate
raise ValueError(f"Invalid win_type {self.win_type}")
ValueError: Invalid win_type gaussian

@x1han
Copy link

x1han commented Oct 18, 2024

caused by scipy.
pip install pandas==1.3.5 scipy==1.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants