From adb5095990986c06ce5e1f4e8e4733da7b302e74 Mon Sep 17 00:00:00 2001 From: RobbinBouwmeester Date: Thu, 19 Dec 2024 14:15:48 +0100 Subject: [PATCH] Change loc doc url --- webinterface/pages/2_Quant_LFQ_ion_DDA.py | 20 +++++-------------- webinterface/pages/3_Quant_LFQ_ion_DIA_AIF.py | 20 +++++-------------- .../pages/4_Quant_LFQ_ion_DIA_diaPASEF.py | 20 +++++-------------- .../pages/5_Quant_LFQ_peptidoform_DDA.py | 20 +++++-------------- .../Quant/lfq/ion/DDA/variables.py | 1 + .../Quant/lfq/ion/DIA/ion_diaPASEF.py | 2 ++ .../peptidoform/DDA/peptidoform_variables.py | 2 ++ 7 files changed, 25 insertions(+), 60 deletions(-) diff --git a/webinterface/pages/2_Quant_LFQ_ion_DDA.py b/webinterface/pages/2_Quant_LFQ_ion_DDA.py index 026fcce3..59f2ad4c 100644 --- a/webinterface/pages/2_Quant_LFQ_ion_DDA.py +++ b/webinterface/pages/2_Quant_LFQ_ion_DDA.py @@ -57,9 +57,7 @@ def _main_page(self) -> None: with tab_results_all: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -70,9 +68,7 @@ def _main_page(self) -> None: with tab_submission_details: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -83,9 +79,7 @@ def _main_page(self) -> None: with tab_indepth_plots: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -95,9 +89,7 @@ def _main_page(self) -> None: # Tab 3: Results (New Submissions) with tab_results_new: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -108,9 +100,7 @@ def _main_page(self) -> None: # Tab 4: Public Submission with tab_public_submission: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." diff --git a/webinterface/pages/3_Quant_LFQ_ion_DIA_AIF.py b/webinterface/pages/3_Quant_LFQ_ion_DIA_AIF.py index 252bc8e8..9d8cce23 100644 --- a/webinterface/pages/3_Quant_LFQ_ion_DIA_AIF.py +++ b/webinterface/pages/3_Quant_LFQ_ion_DIA_AIF.py @@ -61,9 +61,7 @@ def _main_page(self) -> None: # Tab 1: Results (All Data) with tab_results_all: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -73,9 +71,7 @@ def _main_page(self) -> None: # Tab 2: Submission Details with tab_submission_details: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -85,9 +81,7 @@ def _main_page(self) -> None: # Tab 2.5: in-depth plots current data with tab_indepth_plots: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -97,9 +91,7 @@ def _main_page(self) -> None: # Tab 3: Results (New Submissions) with tab_results_new: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -109,9 +101,7 @@ def _main_page(self) -> None: # Tab 4: Public Submission with tab_public_submission: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." diff --git a/webinterface/pages/4_Quant_LFQ_ion_DIA_diaPASEF.py b/webinterface/pages/4_Quant_LFQ_ion_DIA_diaPASEF.py index a137f2e1..c7e50121 100644 --- a/webinterface/pages/4_Quant_LFQ_ion_DIA_diaPASEF.py +++ b/webinterface/pages/4_Quant_LFQ_ion_DIA_diaPASEF.py @@ -63,9 +63,7 @@ def _main_page(self) -> None: # Tab 1: Results (All Data) with tab_results_all: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -75,9 +73,7 @@ def _main_page(self) -> None: # Tab 2: Submission Details with tab_submission_details: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -87,9 +83,7 @@ def _main_page(self) -> None: # Tab 2.5: in-depth plots current data with tab_indepth_plots: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -99,9 +93,7 @@ def _main_page(self) -> None: # Tab 3: Results (New Submissions) with tab_results_new: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -111,9 +103,7 @@ def _main_page(self) -> None: # Tab 4: Public Submission with tab_public_submission: st.title(self.variables_dia_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dia_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dia_quant.doc_url})") if self.variables_dia_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." diff --git a/webinterface/pages/5_Quant_LFQ_peptidoform_DDA.py b/webinterface/pages/5_Quant_LFQ_peptidoform_DDA.py index 75426e42..db2cf59c 100644 --- a/webinterface/pages/5_Quant_LFQ_peptidoform_DDA.py +++ b/webinterface/pages/5_Quant_LFQ_peptidoform_DDA.py @@ -67,9 +67,7 @@ def _main_page(self) -> None: with tab_results_all: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -79,9 +77,7 @@ def _main_page(self) -> None: # Tab 2: Submission Details with tab_submission_details: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -91,9 +87,7 @@ def _main_page(self) -> None: # Tab 2.5: in-depth plots current data with tab_indepth_plots: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -103,9 +97,7 @@ def _main_page(self) -> None: # Tab 3: Results (New Submissions) with tab_results_new: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." @@ -116,9 +108,7 @@ def _main_page(self) -> None: # Tab 4: Public Submission with tab_public_submission: st.title(self.variables_dda_quant.texts.ShortMessages.title) - st.write( - f"The full description of the module is available [here]({self.variables_dda_quant.texts.ShortMessages.doc_url})" - ) + st.write(f"The full description of the module is available [here]({self.variables_dda_quant.doc_url})") if self.variables_dda_quant.beta_warning: st.warning( "This module is in BETA phase. The figure presented below and the metrics calculation may change in the near future." diff --git a/webinterface/pages/pages_variables/Quant/lfq/ion/DDA/variables.py b/webinterface/pages/pages_variables/Quant/lfq/ion/DDA/variables.py index ea01cb4e..4a0f340e 100644 --- a/webinterface/pages/pages_variables/Quant/lfq/ion/DDA/variables.py +++ b/webinterface/pages/pages_variables/Quant/lfq/ion/DDA/variables.py @@ -60,3 +60,4 @@ class VariablesDDAQuant: parse_settings_dir: str = "../proteobench/io/parsing/io_parse_settings/Quant/DDA" texts: Type[WebpageTexts] = WebpageTexts + doc_url: str = "https://proteobench.readthedocs.io/en/latest/available-modules/2-quant-lfq-ion-dda/" diff --git a/webinterface/pages/pages_variables/Quant/lfq/ion/DIA/ion_diaPASEF.py b/webinterface/pages/pages_variables/Quant/lfq/ion/DIA/ion_diaPASEF.py index adc663c2..e3b76181 100644 --- a/webinterface/pages/pages_variables/Quant/lfq/ion/DIA/ion_diaPASEF.py +++ b/webinterface/pages/pages_variables/Quant/lfq/ion/DIA/ion_diaPASEF.py @@ -61,3 +61,5 @@ class VariablesDIAQuantdiaPASEF: parse_settings_dir: str = "../proteobench/io/parsing/io_parse_settings/Quant/lfq/ion/DIA/diaPASEF" texts: Type[WebpageTexts] = WebpageTexts + + doc_url: str = "https://proteobench.readthedocs.io/en/latest/available-modules/5-quant-lfq-ion-dia-diapasef/" diff --git a/webinterface/pages/pages_variables/Quant/lfq/peptidoform/DDA/peptidoform_variables.py b/webinterface/pages/pages_variables/Quant/lfq/peptidoform/DDA/peptidoform_variables.py index 7afad31f..44dee65c 100644 --- a/webinterface/pages/pages_variables/Quant/lfq/peptidoform/DDA/peptidoform_variables.py +++ b/webinterface/pages/pages_variables/Quant/lfq/peptidoform/DDA/peptidoform_variables.py @@ -60,3 +60,5 @@ class VariablesDDAQuant: parse_settings_dir: str = "../proteobench/io/parsing/io_parse_settings/Quant/lfq/peptidoform/DDA" texts: Type[WebpageTexts] = WebpageTexts + + doc_url: str = "https://proteobench.readthedocs.io/en/latest/available-modules/3-quant-lfq-peptidoform-dda/"