Skip to content

Commit

Permalink
Added issue numbers to FIXMEs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapple-cat committed Apr 30, 2024
1 parent 8c00f1b commit 0710f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post-processing/config_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def parse_filters(self):

# filters
if self.filters:
# FIXME: consider a better way of doing this
# FIXME (issue #314): consider a better way of doing this
# use hashable tuples to remove duplicate filters
self.and_filters = (list(dict.fromkeys([tuple(f) for f in self.filters["and"]]))
if self.filters.get("and") else [])
Expand All @@ -111,7 +111,7 @@ def parse_filters(self):
# convert back to lists to maintain mutability
self.and_filters = [list(f) for f in self.and_filters]
self.or_filters = [list(f) for f in self.or_filters]
# FIXME: consider the purpose of keeping multiple filter lists
# FIXME (issue #314): consider the purpose of keeping multiple filter lists
self.filters["and"] = self.and_filters
self.filters["or"] = self.or_filters

Expand Down

0 comments on commit 0710f35

Please sign in to comment.