Skip to content

Commit

Permalink
Fix cell name parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha Beniamine committed Jan 15, 2025
1 parent 1996851 commit d77fac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qumin/representations/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def read_pattern(string):

table = pd.read_csv(path, sep=",", dtype="str")

reg = re.compile(r"[^_]+_(.+)-(.+)")
reg = re.compile(r"[^_]+_(.+)-(.+)\.csv")
cells = tuple(reg.match(path.name).groups())
for cell in cells:
if cell not in self.cells:
Expand Down

0 comments on commit d77fac8

Please sign in to comment.