MannLabs / alphapept

A modular, python-based framework for mass spectrometry. Powered by nbdev.
https://mannlabs.github.io/alphapept/
Apache License 2.0
167 stars 29 forks source link

AlphaPept GUI 0.5.1 Breaking change: The data editor's representation in st.session_state was changed. #553

Closed grandrea closed 10 months ago

grandrea commented 11 months ago

Describe the bug Loading new experiment folder triggers the warning

Please replace st.experimental_data_editor with st.data_editor.

st.experimental_data_editor will be removed after 2023-09-01.

Breaking change: The data editor's representation in st.session_state was changed. The edited_cells dictionary is now called edited_rows and uses a different format ({0: {"column name": "edited value"}} instead of {"0:1": "edited value"}). You may need to adjust the code if your app uses st.experimental_data_editor in combination with st.session_state."

Version (please complete the following information):

When I submit a run, I get a crash in mono/thermo .raw conversion, which previously (version 0.4.1 i think) used to work. alphapept_log.txt

straussmaximilian commented 10 months ago

Thanks for reporting. This should be fixed now.

grandrea commented 10 months ago

if i install with pip, which version contains the fix? does "alphapept[stable,gui-stable]" have these updates already or should i install the developer version? thanks

straussmaximilian commented 10 months ago

Hi, this would have been the github version. Now I pushed it to PyPi, so it should be installable via pip. You could try pip install alphapept --upgrade, if this doesn't work I would try a clean install with "alphapept[stable,gui-stable]"