From 75c16508829e33e28cbf068a850831660a44cc3f Mon Sep 17 00:00:00 2001 From: 4eta <4eta@users.noreply.github.com> Date: Mon, 26 Feb 2024 07:22:38 +0000 Subject: [PATCH] [Action] pipenv run fmt --- pacs/utils/genfeature/genfeat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pacs/utils/genfeature/genfeat.py b/pacs/utils/genfeature/genfeat.py index 33ef2cb..7905be3 100644 --- a/pacs/utils/genfeature/genfeat.py +++ b/pacs/utils/genfeature/genfeat.py @@ -22,7 +22,7 @@ def save(self, cycle: int, replica: int, features: np.ndarray) -> None: features, ) LOGGER.info( - f"feature of trial{self.trial:03}cycle{cycle:03}replica{replica:03} was saved at {self.output_directory}/" # noqa B950 + f"feature of trial{self.trial:03}cycle{cycle:03}replica{replica:03} was saved at {self.output_directory}/" # noqa B950 ) def prepare(self) -> None: @@ -43,7 +43,7 @@ def cal_parallel(self, calc_feature, *args, **kwargs) -> None: exit(1) cycle = re.findall(r"(\d+)", str(path))[1] replica = re.findall(r"(\d+)", str(path))[2] - trj_path = f"./trial{self.trial:03}/cycle{cycle:03}/replica{replica:03}/{self.trj_filename}" # noqa B950 + trj_path = f"./trial{self.trial:03}/cycle{cycle:03}/replica{replica:03}/{self.trj_filename}" # noqa B950 future = executor.submit(calc_feature, trj_path, *args, **kwargs) job_dict_list.append(