Skip to content

Commit

Permalink
format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
hsulab committed Apr 19, 2024
1 parent 0ada113 commit 4403446
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/gdpx/potential/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

from .. import config
from ..core.register import registers
from ..bias import bias_register


if __name__ == "__main__":
...
...
10 changes: 5 additions & 5 deletions src/gdpx/potential/managers/bias.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

from . import registers
from . import AbstractPotentialManager, DummyCalculator
from gdpx.bias import bias_register
from .. import bias_register

"""This manager registers ALL jax-based bias calculators."""
"""This manager registers ALL bias calculators."""


class BiasManager(AbstractPotentialManager):
Expand All @@ -26,7 +26,7 @@ def __init__(self) -> None:
super().__init__()

return

def register_calculator(self, calc_params, *agrs, **kwargs) -> None:
""""""
super().register_calculator(calc_params, *agrs, **kwargs)
Expand Down Expand Up @@ -54,11 +54,11 @@ def register_calculator(self, calc_params, *agrs, **kwargs) -> None:
calc = bias_register[bias_type](**calc_params)
else:
...

self.calc = calc

return


if __name__ == "__main__":
...
...

0 comments on commit 4403446

Please sign in to comment.