From 6ca5fb6461450b34b3d2430827283be3a1ee4226 Mon Sep 17 00:00:00 2001 From: pgarrett Date: Wed, 27 Mar 2024 15:35:36 -0700 Subject: [PATCH] url --- app.py | 2 +- constants.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 5423bb9..db602c5 100644 --- a/app.py +++ b/app.py @@ -426,7 +426,7 @@ def add_variable_modification(r): cov = pt.calculate_span_coverage(spans, protein_length) protein_cov_at_mass.append(sum(cov) / len(cov) * 100) -st.write(f'##### [Sharable URL]({url})') +st.write(f'##### :link: [Sharable URL]({url})') t1, t2, t3, t4, t5 = st.tabs(['Digestion Metrics', 'Cleavage & Coverage', 'Motif Analysis', 'Wiki', 'Help']) diff --git a/constants.py b/constants.py index 46469de..edfdad0 100644 --- a/constants.py +++ b/constants.py @@ -1,7 +1,7 @@ import copy import os -from peptacular.constants import PROTEASES +import peptacular as pt def get_env_int(var_name, default): @@ -77,7 +77,7 @@ def get_env_str(var_name, default): LINK = get_env_str('LINK', 'https://peptidefragmenter.streamlit.app/') -VALID_PROTEASES = copy.deepcopy(PROTEASES) +VALID_PROTEASES = copy.deepcopy(pt.PROTEASES) VALID_PROTEASES.pop('non-specific', None) VALID_PROTEASES = {k.replace(' ', '_'): v for k, v in VALID_PROTEASES.items()}