Skip to content
Snippets Groups Projects
Commit 62aab091 authored by Joseph Ramsay's avatar Joseph Ramsay
Browse files

Re #21350 Make chopper mode propagate through method calls

parent 0525ceaa
No related branches found
No related tags found
No related merge requests found
...@@ -128,5 +128,8 @@ class Polaris(AbstractInst): ...@@ -128,5 +128,8 @@ class Polaris(AbstractInst):
return output return output
def _switch_mode_specific_inst_settings(self, mode): def _switch_mode_specific_inst_settings(self, mode):
if mode is None and hasattr(self._inst_settings, "mode"):
mode = self._inst_settings.mode
self._inst_settings.update_attributes(advanced_config=polaris_advanced_config.get_mode_specific_dict(mode), self._inst_settings.update_attributes(advanced_config=polaris_advanced_config.get_mode_specific_dict(mode),
suppress_warnings=True) suppress_warnings=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment