Time domain analysis run_until calibration points error
- Quantify-Core version:
- Python version:
- Python install method (anaconda/virtualenv/other?):
- Operating System:
Description
If you use run_until
on a SingleQubitTimedomainAnalysis
, you get an error because it fails to use the correct default value for calibration_points
.
What I Did
While debugging, I ran the line analysis = T1Analysis().run_until(interrupt_before="analyze_fit_results")
in order to run the analysis up to the analyze_fit_results
step.
What Was Expected
The run_until
method should set the self._interrupt_before
and then call self.run()
with default parameters.
What Actually Happened
I got this error
It seems that when you call self.run()
, it doesn't select the default value of calibration_points
correctly. Looks like an edge case that occurs when you use run_until
in an analysis that has calibration_points
. This should be fixed.
You can also find us on Slack. For reference, the issues workflow is described in the contribution guidelines.