Skip to content

Commit

Permalink
[Action] pipenv run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
4eta authored and github-actions[bot] committed Feb 26, 2024
1 parent cf4f4da commit 75c1650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacs/utils/genfeature/genfeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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(
Expand Down

0 comments on commit 75c1650

Please sign in to comment.