Global.Options#
Global.Options.py
- set_molass_options(mapped_trimming=True, flowchange=False, deveoloper_mode=False, **kwargs)#
Set global options for molass.
- Parameters:
mapped_trimming (bool, optional) – Whether to perform mapped trimming. Default is True. See
molass.Trimming.TrimmingUtils.make_mapped_trimming_info()
for details.flowchange (bool or str, optional) –
Whether to consider flow change. Default is False. If a string is given and equal to ‘auto’, flow change will be considered according to the beamline info of input data as follows.
If the beamline name starts with “PF”, flow change will be considered.
Otherwise, flow change will not be considered.
developer_mode (bool, optional) – Whether to enable developer mode. Default is False.
kwargs (dict) – Other options to set.
- get_molass_options(*args)#
Get global options for molass.
- Parameters:
args (str) –
The names of the options to get. The options are:
’mapped_trimming’: Whether to perform mapped trimming.
’flowchange’: Whether to consider flow change.
’developer_mode’: Whether to enable developer mode.
- Returns:
The values of the requested options.
- Return type:
dict