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

search-spectra-evidences returns 404 #15

Open
Alexander-Sol opened this issue Jan 7, 2024 · 0 comments
Open

search-spectra-evidences returns 404 #15

Alexander-Sol opened this issue Jan 7, 2024 · 0 comments

Comments

@Alexander-Sol
Copy link

Attempting to use the search-spectra-evidences command results in the following error message

File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Python311\Scripts\pridepy.exe\__main__.py", line 7, in <module> File "C:\Python311\Lib\site-packages\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\click\core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\pridepy.py", line 254, in search_spectra_evidences print(spectra.spectra_evidences(usi, project_accession, assay_accession, peptide_sequence, modified_sequence, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\spectra\spectra.py", line 57, in spectra_evidences response = Util.get_api_call(request_url, headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\ratelimit\decorators.py", line 113, in wrapper return func(*args, **kargs) ^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\ratelimit\decorators.py", line 80, in wrapper return func(*args, **kargs) ^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\util\api_handling.py", line 26, in get_api_call raise Exception('PRIDE API response: {}'.format(response.status_code)) Exception: PRIDE API response: 404

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

1 participant