Skip to content

Commit 0fd42e7

Browse files
FIx ignoring resources that shouldn't be ignored
1 parent 4b0f19f commit 0fd42e7

File tree

1 file changed

+1
-3
lines changed
  • accelforge/mapper/FFM/_make_pmappings/make_pmappings_from_templates

1 file changed

+1
-3
lines changed

accelforge/mapper/FFM/_make_pmappings/make_pmappings_from_templates/run_model.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ def run_model(
155155

156156
per_memory_usage_df = {}
157157
for memory, occupancies in total_occupancy.items():
158-
ignored = (
159-
job.ignored_resources is not None and memory not in job.ignored_resources
160-
)
158+
ignored = job.ignored_resources is not None and memory in job.ignored_resources
161159
if not ignored or metrics & Metrics.ACTIONS:
162160
key = f"usage<SEP>memory<SEP>{memory}"
163161
per_memory_usage_df[key] = (

0 commit comments

Comments
 (0)