3737
3838from mache import discover_machine , MachineInfo
3939
40- from mpas_tools . config import MpasConfigParser
40+ from tranche import Tranche
4141
4242from mpas_analysis .shared .analysis_task import AnalysisFormatter
4343
@@ -70,7 +70,7 @@ def update_time_bounds_in_config(config):
7070
7171 Parameters
7272 ----------
73- config : mpas_tools.config.MpasConfigParser
73+ config : tranche.Tranche
7474 contains config options
7575
7676 """
@@ -88,10 +88,10 @@ def build_analysis_list(config, controlConfig):
8888
8989 Parameters
9090 ----------
91- config : mpas_tools.config.MpasConfigParser
91+ config : tranche.Tranche
9292 contains config options
9393
94- controlConfig : mpas_tools.config.MpasConfigParser or None
94+ controlConfig : tranche.Tranche or None
9595 contains config options for a control run, or ``None`` if no config
9696 file for a control run was specified
9797
@@ -588,7 +588,7 @@ def update_generate(config, generate):
588588
589589 Parameters
590590 ----------
591- config : mpas_tools.config.MpasConfigParser
591+ config : tranche.Tranche
592592 contains config options
593593
594594 generate : str
@@ -615,7 +615,7 @@ def run_analysis(config, analyses):
615615
616616 Parameters
617617 ----------
618- config : mpas_tools.config.MpasConfigParser
618+ config : tranche.Tranche
619619 contains config options
620620
621621 analyses : OrderedDict of ``AnalysisTask`` objects
@@ -869,7 +869,7 @@ def build_config(user_config_file, shared_configs, machine_info):
869869 if not os .path .exists (user_config_file ):
870870 raise OSError (f'A config file { user_config_file } was specified but '
871871 f'the file does not exist' )
872- config = MpasConfigParser ()
872+ config = Tranche ()
873873 for config_file in shared_configs :
874874 if config_file .endswith ('.py' ):
875875 # we'll skip config options set in python files
@@ -1053,7 +1053,7 @@ def main():
10531053 parser .print_help ()
10541054 sys .exit (0 )
10551055
1056- config = MpasConfigParser ()
1056+ config = Tranche ()
10571057
10581058 # add default.cfg to cover default not included in the config files
10591059 # provided on the command line
0 commit comments