Skip to content

Commit

Permalink
Adjust file name parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tukiains committed Aug 11, 2023
1 parent d8d8911 commit fb2674c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwrpy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def get_coeff_list(site: str | None, prefix: str, coeff_files: list | None) -> l
if coeff_files is not None:
c_list = []
for file in coeff_files:
if f"_{prefix.lower()}_" in file.lower():
if f"{prefix.lower()}_" in file.lower():
logging.info("Using coefficient file: " + file)
c_list.append(file)
return sorted(c_list)
Expand Down

0 comments on commit fb2674c

Please sign in to comment.