MannLabs / alphapeptdeep

Deep learning framework for proteomics
Apache License 2.0
102 stars 20 forks source link

Peptdeep GUI error in new version #114

Closed Maithy15 closed 7 months ago

Maithy15 commented 9 months ago

Hi,

When I try to start a GUI from CLI, I get the following error. Could you please tell me what is wrong here?

Thanks Maithy

Here is the error

(peptdeep) C:\Users\m284y>peptdeep gui

 ____             __  ____
/ __ \___  ____  / /_/ __ \___  ___  ____

/ // / \/ \/ / / / / \/ \/ \ / __/ / // / // // / / / // / // \/ ./_/___/_/_/ .__/ // /_/ .................................................... . 1.1.0 . . https://github.com/MannLabs/peptdeep . . Apache 2.0 . ....................................................

Traceback (most recent call last): File "C:\Users\m284y.conda\envs\peptdeep\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\m284y.conda\envs\peptdeep\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\m284y.conda\envs\peptdeep\Scripts\peptdeep.exe__main.py", line 7, in File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\click\core.py", line 783, in invoke return callback(*args, **kwargs) File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\peptdeep\cli.py", line 56, in _gui from peptdeep.webui.server import _server File "C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\peptdeep\webui\server.py", line 7, in from peptdeep.pipeline_api import ( ImportError: cannot import name 'rescore' from 'peptdeep.pipeline_api' (C:\Users\m284y.conda\envs\peptdeep\lib\site-packages\peptdeep\pipeline_api.py)

jalew188 commented 9 months ago

Did you use the installer or pip install peptdeep? Anyway, there is indeed bug as I removed rescore module from the 2.1.0 but peptdeep gui still calls it.

jalew188 commented 9 months ago

@Maithy15 I am developing a new GUI that uses the new CLI peptdeep cmd-flow ... (https://github.com/MannLabs/alphapeptdeep#cmd-flow) to address other issues in the old GUI runner.

If you are using git to fetch alphapeptdeep, I can quickly update the code in the next days.

Maithy15 commented 9 months ago

Hi,

Thanks for the quick reply. I used the pip installer. I cannot find windows installer for the latest version of GUI. I just installed CLI using pip install. I can download via git if it is faster to update.

Thanks Maithy

jalew188 commented 8 months ago

@Maithy15 Too busy in this month, I am working on this now

Maithy15 commented 7 months ago

Thanks for the update!

jalew188 commented 7 months ago

@Maithy15 Windows installer (v1.1.1) has been updated