-
Notifications
You must be signed in to change notification settings - Fork 35
Template updates #72
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
Template updates #72
Conversation
- remove plotly-events and aggrid - 2D peak map updating while zooming in - 3D peak map static plot on zoom selection of 2D plot - spectrum viewer, select spectrum from table, update top 5 m/z annotations zooming in - chromatogram viewer with BPC, TIC and XIC - every section in separate fragments
- using the new st.navigation - creates sections in sidebar - icons don't need to be in page name
- icon on top (can be changed to 24*240px banner later) - workspace selector on every page in collapsed expander
- simple workflow with feature detection and linking - export consensus map to dataframe with python script - added interactive result section
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
- warning to use a pages directory within an app using st.navigation - could lead to unwanted behaviour
- removed fragment from file upload sections, since configure depends on it - check if fallback files are present and remove before adding new files
- files directory created once - removed unneccessary mkdirs
t0mdavid-m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This a great clean up of the template app. Thank you!
I added some minor comments. I think it would also make sense to merge #71 and update the documentation here, while we are at it.
Co-authored-by: Tom David Müller <57191390+t0mdavid-m@users.noreply.github.com>
Co-authored-by: Tom David Müller <57191390+t0mdavid-m@users.noreply.github.com>
|
@t0mdavid-m thanks for the review! Integrated your download section PR with minor changes and updated the documentation structure. Now there is a docs directory containing the contents of each page as markdown file (if possible) to be read independently of the app. |
t0mdavid-m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the changes! I think putting the documentation in a dedicated folder is a great idea. I also like the changes you made to the download section. The sorting of results as "newest first" makes much more sense and I will also incorporate it into FLASHViewer.
Template updates
User description
A bunch of updates to the template app, the major ones:
The visualization needs to be updated after pyopenms-viz has been finished.
PR Type
Enhancement, Documentation
Description
st.navigationfor better page organization.Changes walkthrough 📝
9 files
app.py
Refactor main page to use st.navigation for page organizationapp.py
st.navigation.Workflow Framework", "pyOpenMS Workflow", and "Others Topics".
raw_data_viewer.py
Add raw data viewer page with interactive plotspages/raw_data_viewer.py
peak maps, spectra, and chromatograms.
topp_workflow.py
Add TOPP Workflow Framework page with multiple sectionspages/topp_workflow.py
file upload, parameter configuration, execution, and results.
Workflow.py
Enhance Workflow class with new methods and modular fragmentssrc/Workflow.py
configuring parameters, executing workflows, and displaying results.
common.py
Add captcha control and enhance show_fig functionsrc/common.py
view.py
Add functions for viewing MS data and enhance data processingsrc/view.py
BasePlotter.py
Introduce base plotter class for plotting configurationssrc/plotting/BasePlotter.py
abstract methods for plotting.
MSExperimentPlotter.py
Add MSExperimentPlotter class for 2D and 3D plottingsrc/plotting/MSExperimentPlotter.py
3D plotting.
export_consensus_feature_df.py
Add Python tool for exporting consensus feature datasrc/python-tools/export_consensus_feature_df.py
DataFrame.
3 files
hook-streamlit.py
Remove streamlit_plotly_events from metadata copy in hookhooks/hook-streamlit.py
streamlit_plotly_eventsfrom metadata copy.environment.yml
Update environment dependencies and Python versionenvironment.yml
requirements.txt
Update requirements for streamlit, plotly, and numpyrequirements.txt
2 files
documentation.py
Consolidate documentation into a single navigable pagepages/documentation.py
selectbox for navigation.
Deployment.
quickstart.py
Add Quickstart page with overview and linkspages/quickstart.py
documentation links, and example pages.