IBM / AutoPeptideML

AutoML system for building trustworthy peptide bioactivity predictors
https://ibm.github.io/AutoPeptideML/
MIT License
20 stars 0 forks source link

FileNotFoundError on Webserver #29

Closed elizabethmcd closed 3 weeks ago

elizabethmcd commented 3 weeks ago

Describe the bug When building a model with the downloaded sample dataset and selecting "blood-brain barrier crossing" for overlapping bioactivities, I get a FileNotFoundError:

FileNotFoundError: [Errno 2] No such file or directory: '/home/raulfd/peptide-webserver/projects/use_data/apml.txt'
File "/home/raulfd/miniconda3/envs/apml/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
    exec(code, module.__dict__)
File "/home/raulfd/peptide-webserver/projects/autopeptideml.py", line 871, in <module>
    home()
File "/home/raulfd/peptide-webserver/projects/autopeptideml.py", line 104, in home
    page_names_to_funcs[menu]()
File "/home/raulfd/peptide-webserver/projects/autopeptideml.py", line 543, in build_model
    run(df, search_negatives, bioactivities, alignment_algorithm, threshold)
File "/home/raulfd/peptide-webserver/projects/autopeptideml.py", line 175, in run
    with open(USE_DATA_PATH) as fi:

This also happens with files of my own, but is reproducible on my end with the downloaded sample dataset.

To Reproduce Steps to reproduce the behavior: Used default options

Expected behavior I've been able to successfully run model building before and have never encountered this error.

Screenshots

Screenshot 2024-11-04 at 3 44 48 PM

Desktop (please complete the following information):

RaulFD-creator commented 3 weeks ago

Hi @elizabethmcd, I introduced the bug when doing some maintenance in the webserver, I apologize for the inconvenience.

I fixed it and now it should run correctly, but please, try again and if the error persists or a new error appears, let me know.

Thanks for bringing this issue to my attention!

elizabethmcd commented 3 weeks ago

It's working now as expected, thank you! And this is a fantastic tool, great work!!

RaulFD-creator commented 3 weeks ago

Thanks a lot for the kind words! If there are any missing features that you'd like to see, please feel free to let us know