Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@deprecated(msg='Please use `v_is_leaf` instead.')
def v_leaf(self):
"""Whether node is a leaf or not (i.e. it is a group node)
DEPRECATED: Please use v_is_leaf!
"""
return self.v_is_leaf
@deprecated(msg='Please use property `v_is_root` instead.')
def f_is_root(self):
"""Whether the group is root (True for the trajectory and a single run object)
DEPRECATED: Please use property v_is_root!
"""
return self.v_is_root
@deprecated(msg='Please use `v_is_leaf` instead.')
def v_leaf(self):
"""Whether node is a leaf or not (i.e. it is a group node)
DEPRECATED: Please use v_is_leaf!
"""
return self.v_is_leaf
@deprecated('No longer supported')
def v_no_data_string(self):
"""Whether or not to give a short summarizing string when calling
:func:`~pypet.parameter.Result.f_val_to_str` or `__str__`.
Can be set to `False` if the evaluation of stored data into string is too costly.
DEPRECATED! Does not change anything. Data will always be printed.
"""
self._logger.warning('`v_no_data_string is DEPRECATED. Changes of this property do no '
'longer have an effect. Data will always be printed.')
return False
@deprecated(msg='Please use function `f_supports_fast_access()` instead.')
def v_fast_accessible(self):
"""Whether or not fast access can be supported by the Parameter or Result
DEPRECATED: Please use function `f_supports_fast_access` instead!
"""
return self.f_supports_fast_access()
@deprecated(msg='Please use `f_has_range()` instead.')
def f_is_array(self):
"""Returns true if the parameter is explored and contains a range array.
DEPRECATED: Use `f_has_range()` instead.
"""
return self.f_has_range()
@deprecated('Please use assignment in environment constructor.')
def f_switch_off_small_overview(self):
""" Switches off small overview tables and switches off `purge_duplicate_comments`.
DEPRECATED: Please pass whether to use the tables to the environment constructor.
"""
self.f_set_small_overview(0)
@deprecated(msg='Please use property `v_is_root` instead.')
def f_is_root(self):
"""Whether the group is root (True for the trajectory and a single run object)
DEPRECATED: Please use property v_is_root!
"""
return self.v_is_root
@deprecated(msg='Please use `v_is_parameter` instead.')
def v_parameter(self):
"""Whether the node is a parameter or not (i.e. a result)
DEPRECATED: Please use `v_is_parameter` instead!
"""
return self.v_is_parameter
@deprecated('Please use assignment in environment constructor.')
def f_set_small_overview(self, switch):
"""Switches small overview tables on (`switch=True`) or off (`switch=False`). """
switch = switch
self._traj.config.hdf5.overview.parameters_overview = switch
self._traj.config.hdf5.overview.config_overview = switch
self._traj.config.hdf5.overview.explored_parameters_overview = switch