Skip to content

Commit

Permalink
fix: Improve readout_data deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Aug 30, 2023
1 parent 0e7aff6 commit 5099cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyquil/api/_qam.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def get_register_map(self) -> Dict[str, Optional[np.ndarray]]:
@deprecated(
version="4.0.0",
reason=(
"This property is ambiguous now that the `get_raw_readout_data()` method exists"
"and will be removed in future versions. Use the `get_register_map()` method instead"
"This property is ambiguous now that the `get_raw_readout_data()` method exists "
"and will be removed in future versions. Use the `get_register_map()` method instead."
),
)
def readout_data(self) -> Mapping[str, Optional[np.ndarray]]:
Expand Down

0 comments on commit 5099cda

Please sign in to comment.