Skip to content

Commit

Permalink
fix for #470
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Mar 13, 2024
1 parent e99b5d0 commit c089082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion looper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ def fetch_sample_flags(prj, sample, pl_name, flag_dir=None):
return [
x
for x in folder_contents
if os.path.splitext(x)[1] == ".flag" and os.path.basename(x).startswith(pl_name)
if os.path.splitext(x)[1] == ".flag"
and os.path.basename(x).startswith(pl_name)
and sample.sample_name in x
]


Expand Down

0 comments on commit c089082

Please sign in to comment.