Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Feb 6, 2024
1 parent 5cf90ae commit c8e9146
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
24 changes: 12 additions & 12 deletions transformato/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def __init__(self, configuration: dict, structure: str):
# load parameters
self.psfs[env].load_parameters(parameter)
# get offset
self.offset[
env
] = self._determine_offset_and_set_possible_dummy_properties(
self.psfs[env]
self.offset[env] = (
self._determine_offset_and_set_possible_dummy_properties(
self.psfs[env]
)
)

# generate rdkit mol object of small molecule
Expand All @@ -78,10 +78,10 @@ def __init__(self, configuration: dict, structure: str):
self.psfs[env] = self._initialize_system(configuration, env)
# load parameters
self.psfs[env].load_parameters(parameter)
self.offset[
env
] = self._determine_offset_and_set_possible_dummy_properties(
self.psfs[env]
self.offset[env] = (
self._determine_offset_and_set_possible_dummy_properties(
self.psfs[env]
)
)

elif self.ff == "amber":
Expand All @@ -91,10 +91,10 @@ def __init__(self, configuration: dict, structure: str):
self.psfs[env].load_rst7(
f"{self.charmm_gui_base}/waterbox/openmm/step3_input.rst7"
)
self.offset[
env
] = self._determine_offset_and_set_possible_dummy_properties(
self.psfs[env]
self.offset[env] = (
self._determine_offset_and_set_possible_dummy_properties(
self.psfs[env]
)
)
# if env == "vacuum":
# self.psfs["vacuum"] = self.psfs["waterbox"][f":{self.tlc}"]
Expand Down
1 change: 1 addition & 0 deletions transformato/tests/test_misc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Unit and regression test for the transformato package.
"""

from transformato.helper_functions import temperature
from openmm import unit
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions transformato/tests/test_postprocessing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Unit and regression test for the transformato package.
"""

import os

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions transformato/tests/test_restraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Tests are mainly based on 2OJ9
"""

import glob
import logging
import os
Expand Down

0 comments on commit c8e9146

Please sign in to comment.