@@ -132,18 +132,11 @@ def run(
132132 # Return the ExperimentData future
133133 return experiment_data
134134
135- def run_analysis (
136- self , experiment_data , save = True , return_figures = False , ** options
137- ) -> ExperimentData :
135+ def run_analysis (self , experiment_data , ** options ) -> ExperimentData :
138136 """Run analysis and update ExperimentData with analysis result.
139137
140138 Args:
141139 experiment_data (ExperimentData): the experiment data to analyze.
142- save (bool): if True save analysis results and figures to the
143- :class:`ExperimentData`.
144- return_figures (bool): if true return a pair of
145- ``(analysis_results, figures)``,
146- otherwise return only analysis_results.
147140 options: additional analysis options. Any values set here will
148141 override the value from :meth:`analysis_options`
149142 for the current run.
@@ -163,8 +156,9 @@ def run_analysis(
163156 analysis_options = analysis_options .__dict__
164157
165158 # Run analysis
159+ # pylint: disable = not-callable
166160 analysis = self .__analysis_class__ ()
167- analysis .run (experiment_data , ** analysis_options )
161+ analysis .run (experiment_data , save = True , return_figures = False , ** analysis_options )
168162 return experiment_data
169163
170164 @property
0 commit comments