From d1e993f9713b595903a7d31790b2da84b9bd2fd1 Mon Sep 17 00:00:00 2001 From: minghangli-uni Date: Tue, 10 Sep 2024 16:30:40 +1000 Subject: [PATCH] code format --- expts_manager/Expts_manager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/expts_manager/Expts_manager.py b/expts_manager/Expts_manager.py index 718b478..7c1b8d7 100755 --- a/expts_manager/Expts_manager.py +++ b/expts_manager/Expts_manager.py @@ -828,7 +828,9 @@ def _update_metadata_yaml_perturb(self, expt_path, param_dict, restartpath): keywords = self._extract_metadata_keywords(param_dict) # extract parameters from the change list, and update `keywords` - metadata["keywords"] = (f"{self.base_dir_name}, {self.branch_perturb}, {keywords}") + metadata["keywords"] = ( + f"{self.base_dir_name}, {self.branch_perturb}, {keywords}" + ) # remove None comments from `keywords` self._remove_metadata_comments("keywords", metadata) @@ -1012,7 +1014,7 @@ def _check_skipping(self, param_dict, nml_group, parameter_block, expt_path): return # might need MOM_parameter.all, because many parameters are in-default hence not shown up in `MOM_input` - if (self.tag_model == "mom6"): + if self.tag_model == "mom6": # TODO pass