diff --git a/alphapulldown/analysis_pipeline/utils.py b/alphapulldown/analysis_pipeline/utils.py index 0f4039af..d82091eb 100644 --- a/alphapulldown/analysis_pipeline/utils.py +++ b/alphapulldown/analysis_pipeline/utils.py @@ -15,7 +15,7 @@ from af2plots.plotter import plotter def display_pae_plots(subdir,figsize=(50, 50)): """A function to display all the pae plots in the subdir""" - pattern = r"_PAE_plot_ranked_(\d+)" + pattern = r"pae_plot_ranked_(\d+)" images = sorted([i for i in os.listdir(subdir) if ".png" in i], key= lambda x: int(re.search(pattern,x).group(1))) if len(images) > 0: