Skip to content

Commit 1efd489

Browse files
committed
fix linting
1 parent 1660df1 commit 1efd489

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ensemble_md/replica_exchange_EE.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def set_params(self, analysis):
164164
"resname_transform": None,
165165
"resname_list": None,
166166
"swap_rep_pattern": None,
167-
"allow_virtual_V": False, # Allow use of V to indicate virtual atoms in topology
167+
"allow_virtual_V": False, # Allow use of V to indicate virtual atoms in topology
168168
"nst_sim": None,
169169
"proposal": 'exhaustive',
170170
"w_combine": False,

ensemble_md/tests/test_coordinate_swap.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ def test_fix_break():
6161
test_fix = coordinate_swap.fix_break(broken_mol, 'C2D', [2.74964, 2.74964, 2.74964], df_connect_res, False, 1)
6262

6363
broken_mol_3D = md.load(f'{input_path}/coord_swap/broken_mol_3D.gro')
64-
test_fix_3D = coordinate_swap.fix_break(broken_mol_3D, 'C2D', [2.74964, 2.74964, 2.74964], df_connect_res, False, 1)
64+
test_fix_3D = coordinate_swap.fix_break(broken_mol_3D, 'C2D', [2.74964, 2.74964, 2.74964], df_connect_res, False, 1) # noqa: E501
6565

6666
already_fixed = md.load(f'{input_path}/coord_swap/fixed_mol.gro')
67-
still_fixed = coordinate_swap.fix_break(already_fixed, 'C2D', [2.74964, 2.74964, 2.74964], df_connect_res, False, 1)
67+
still_fixed = coordinate_swap.fix_break(already_fixed, 'C2D', [2.74964, 2.74964, 2.74964], df_connect_res, False, 1) # noqa: E501
6868

6969
fixed_mol = md.load(f'{input_path}/coord_swap/fixed_mol.gro')
7070

@@ -139,8 +139,8 @@ def test_get_miss_coord():
139139

140140
A_dimensions = coordinate_swap.get_dimensions(open(molA_file, 'r').readlines())
141141
B_dimensions = coordinate_swap.get_dimensions(open(molB_file, 'r').readlines())
142-
molA = coordinate_swap.fix_break(molA, nameA, A_dimensions, connection_map[connection_map['Resname'] == nameA], False)
143-
molB = coordinate_swap.fix_break(molB, nameB, B_dimensions, connection_map[connection_map['Resname'] == nameB], False)
142+
molA = coordinate_swap.fix_break(molA, nameA, A_dimensions, connection_map[connection_map['Resname'] == nameA], False) # noqa: E501
143+
molB = coordinate_swap.fix_break(molB, nameB, B_dimensions, connection_map[connection_map['Resname'] == nameB], False) # noqa: E501
144144

145145
df_no_coords = pd.read_csv(f'{input_path}/coord_swap/extract_missing.csv')
146146
df = pd.read_csv(f'{input_path}/coord_swap/df_atom_swap.csv')

0 commit comments

Comments
 (0)