diff --git a/library_spectra_validation/.gitignore b/streamlit_app/library_spectra_validation/.gitignore similarity index 100% rename from library_spectra_validation/.gitignore rename to streamlit_app/library_spectra_validation/.gitignore diff --git a/library_spectra_validation/README.md b/streamlit_app/library_spectra_validation/README.md similarity index 100% rename from library_spectra_validation/README.md rename to streamlit_app/library_spectra_validation/README.md diff --git a/streamlit_app/library_spectra_validation/__init__.py b/streamlit_app/library_spectra_validation/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/library_spectra_validation/__version__.py b/streamlit_app/library_spectra_validation/__version__.py similarity index 100% rename from library_spectra_validation/__version__.py rename to streamlit_app/library_spectra_validation/__version__.py diff --git a/library_spectra_validation/edit_metadata.py b/streamlit_app/library_spectra_validation/edit_metadata.py similarity index 100% rename from library_spectra_validation/edit_metadata.py rename to streamlit_app/library_spectra_validation/edit_metadata.py diff --git a/library_spectra_validation/filters.py b/streamlit_app/library_spectra_validation/filters.py similarity index 100% rename from library_spectra_validation/filters.py rename to streamlit_app/library_spectra_validation/filters.py diff --git a/library_spectra_validation/library_handler.py b/streamlit_app/library_spectra_validation/library_handler.py similarity index 97% rename from library_spectra_validation/library_handler.py rename to streamlit_app/library_spectra_validation/library_handler.py index 315a8f4..0559c32 100644 --- a/library_spectra_validation/library_handler.py +++ b/streamlit_app/library_spectra_validation/library_handler.py @@ -1,7 +1,7 @@ from matchms.importing import load_spectra from matchms.filtering.SpectrumProcessor import SpectrumProcessor -from filters import PRIMARY_FILTERS -from validation_pipeline import Modification, SpectrumRepairer, SpectrumValidator +from library_spectra_validation.filters import PRIMARY_FILTERS +from library_spectra_validation.validation_pipeline import Modification, SpectrumRepairer, SpectrumValidator class LibraryHandler: """Stores the 3 different types of spectra. Correct, repaired, wrong. diff --git a/library_spectra_validation/setup.py b/streamlit_app/library_spectra_validation/setup.py similarity index 100% rename from library_spectra_validation/setup.py rename to streamlit_app/library_spectra_validation/setup.py diff --git a/library_spectra_validation/tests/examples/Broken_records.txt b/streamlit_app/library_spectra_validation/tests/examples/Broken_records.txt similarity index 100% rename from library_spectra_validation/tests/examples/Broken_records.txt rename to streamlit_app/library_spectra_validation/tests/examples/Broken_records.txt diff --git a/library_spectra_validation/tests/examples/test_case_correct.mgf b/streamlit_app/library_spectra_validation/tests/examples/test_case_correct.mgf similarity index 100% rename from library_spectra_validation/tests/examples/test_case_correct.mgf rename to streamlit_app/library_spectra_validation/tests/examples/test_case_correct.mgf diff --git a/library_spectra_validation/tests/examples/test_case_wrong.mgf b/streamlit_app/library_spectra_validation/tests/examples/test_case_wrong.mgf similarity index 100% rename from library_spectra_validation/tests/examples/test_case_wrong.mgf rename to streamlit_app/library_spectra_validation/tests/examples/test_case_wrong.mgf diff --git a/library_spectra_validation/tests/test_library_handler.py b/streamlit_app/library_spectra_validation/tests/test_library_handler.py similarity index 100% rename from library_spectra_validation/tests/test_library_handler.py rename to streamlit_app/library_spectra_validation/tests/test_library_handler.py diff --git a/library_spectra_validation/validation_pipeline.py b/streamlit_app/library_spectra_validation/validation_pipeline.py similarity index 100% rename from library_spectra_validation/validation_pipeline.py rename to streamlit_app/library_spectra_validation/validation_pipeline.py diff --git a/streamlit_app/pages/1_File_Import.py b/streamlit_app/pages/1_File_Import.py index 9ebaa40..9c8a49c 100644 --- a/streamlit_app/pages/1_File_Import.py +++ b/streamlit_app/pages/1_File_Import.py @@ -1,10 +1,10 @@ +from library_spectra_validation.library_handler import LibraryHandler import os import streamlit as st import pandas as pd from matchms.importing import load_from_mgf from tempfile import NamedTemporaryFile -from library_spectra_validation.library_handler import LibraryHandler st.set_page_config(