Skip to content
Snippets Groups Projects
Commit d6d38a49 authored by Valentin Valls's avatar Valentin Valls
Browse files

Drop get/set_parameters from tomo_config

parent 1503511d
No related branches found
No related tags found
No related merge requests found
Pipeline #194576 passed
......@@ -392,27 +392,6 @@ class TomoConfig(BeaconObject, HasMetadataForScan):
"""
return self.__autoprojection
def get_parameters(self):
"""
Return the config parameters as a dictionary
"""
return self.pars.to_dict()
def set_parameter(self, key, value):
"""
Update key parameter with given value if key exists in sequence
parameters
"""
if key in self.pars.to_dict():
self.pars.from_dict({key: value})
def set_parameters(self, dict):
"""
Update all config parameters present in the given dictionary
with corresponding values
"""
self.pars.from_dict(dict)
def _init_config(self, config):
"""
Read keys from config yml file and create corresponding attributes
......
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