diff --git a/lusSTR/cli/gui.py b/lusSTR/cli/gui.py index 0c4dbe1..7a94c11 100644 --- a/lusSTR/cli/gui.py +++ b/lusSTR/cli/gui.py @@ -701,9 +701,7 @@ def show_STR_page(): f"{st.session_state.output}_custom_range" ) else: - file = ( - f"{wd_dirname}/{st.session_state.output}/{st.session_state.output}" - ) + file = f"{wd_dirname}/{st.session_state.output}/{st.session_state.output}" try: sequence_info = pd.read_csv(f"{file}_sequence_info.csv") interactive_setup(sequence_info, file) diff --git a/lusSTR/wrappers/filter.py b/lusSTR/wrappers/filter.py index 7765361..0d099e2 100644 --- a/lusSTR/wrappers/filter.py +++ b/lusSTR/wrappers/filter.py @@ -368,7 +368,7 @@ def make_plot(df, sample_id, sameyaxis=False, filters=False, at=True): sample_df = df[df["SampleID"] == sample_id].copy() # sample_id = f"{id}_sexchr" if sex else id conditions = [ - sample_df["allele_type"].str.contains("real"), + sample_df["allele_type"].str.contains("Typed"), sample_df["allele_type"].str.contains("BelowAT"), sample_df["allele_type"].str.contains("stutter"), ]