You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ X] I am running the latest versions of pyQuil and the Forest SDK
[ X] I checked to make sure that this feature has not already been requested
Issue Description
When adding new Calibrations to a Program, the code checks if the Calibration already exists, and if so, it only adds the new Calibration if it differs from the existing Calibration.
When adding new DefMeasureCalibrations to a Program, the code adds the new DefMeasureCalibration and issues a warning that the DefMeasureCalibration already exists. It would be nice if the code checked if an existing DefMeasureCalibration already existed and only add the new DefMeasureCalibration if it differs from the existing DefMeasureCalibration i.e. it would be nice if it behaved the same way Calibrations are added, thereby avoiding unnecessary warnings.
Proposed Solution
Change this else statement to something like this:
Pre-Request Checklist
Issue Description
When adding new
Calibration
s to aProgram
, the code checks if theCalibration
already exists, and if so, it only adds the newCalibration
if it differs from the existingCalibration
.When adding new
DefMeasureCalibration
s to aProgram
, the code adds the newDefMeasureCalibration
and issues a warning that theDefMeasureCalibration
already exists. It would be nice if the code checked if an existingDefMeasureCalibration
already existed and only add the newDefMeasureCalibration
if it differs from the existingDefMeasureCalibration
i.e. it would be nice if it behaved the same wayCalibration
s are added, thereby avoiding unnecessary warnings.Proposed Solution
Change this else statement to something like this:
The text was updated successfully, but these errors were encountered: