Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Feb 6, 2024
1 parent 56dda0e commit e491895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ function-naming-style=snake_case
good-names=i,
j,
k,
dt,
ex,
Run,
_
Expand Down
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/transpiler/passes/scheduling/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ def _patch_reset(self, key: InstrKey) -> None:
# triggers the end of scheduling after the measurement pulse
measure_key = ("measure", key[1], key[2])
try:
measure_duration, unit = self._get_duration_dt(measure_key)
self._get_duration(measure_key)
measure_duration, unit = self._get_duration(measure_key)
self._patch_key(key, measure_duration, unit)
except KeyError:
# Fall back to reset key if measure not available
self._convert_and_patch_key(key)
Expand Down

0 comments on commit e491895

Please sign in to comment.