Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/OpenMS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/openms.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion content/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
- Want to save your progress or share it with your team? Simply bookmark / share the URL!
"""
)
c2.image("assets/pyopenms_transparent_background.png", width=300)
c2.image("assets/OpenMS.png", width=300)
2 changes: 1 addition & 1 deletion src/common/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def page_setup(page: str = "") -> dict[str, Any]:
unsafe_allow_html=True,
)

st.logo("assets/pyopenms_transparent_background.png")
st.logo("assets/OpenMS.png")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

⚠️ Potential issue

Invalid Streamlit API call 'st.logo' will cause runtime error
The st.logo method does not exist in the official Streamlit API, so this will raise an AttributeError at runtime. To display your logo, replace this with st.image.

Proposed fix:

-    st.logo("assets/OpenMS.png")
+    st.image("assets/OpenMS.png")
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
st.logo("assets/OpenMS.png")
st.image("assets/OpenMS.png")


# Create google analytics if consent was given
if (
Expand Down