Commit 9f0cda5 1 parent 5b88f8c commit 9f0cda5 Copy full SHA for 9f0cda5
File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ dependencies:
8
8
- gmso >=0.11.2
9
9
- gsd >=3.0
10
10
- hoomd=4.3
11
- - mbuild >=0.16.4
11
+ - mbuild >=0.17.0
12
12
- numpy
13
13
- openbabel >=3
14
14
- pip
15
15
- pre-commit
16
16
- py3Dmol
17
17
- pytest
18
18
- pytest-cov
19
- - python >=3.10
19
+ - python >=3.10, <3.12
20
20
- fresnel >=0.13.5
21
21
- cmeutils >=1.1.1
22
22
- grits >=0.3.0
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ dependencies:
8
8
- gmso >=0.11.2
9
9
- gsd >=3.0
10
10
- hoomd=4.3
11
- - mbuild >=0.16.4
11
+ - mbuild >=0.17.0
12
12
- numpy
13
13
- openbabel >=3
14
14
- pip
15
15
- py3Dmol
16
- - python >=3.10
16
+ - python >=3.10, <3.12
17
17
- fresnel >=0.13.5
18
18
- cmeutils >=1.1.1
19
19
- grits >=0.3.0
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def __init__(
35
35
remove_void_particles = True ,
36
36
):
37
37
self .gsd_files = check_return_iterable (gsd_files )
38
- self .interface_axis = interface_axis
38
+ self .interface_axis = np . asarray ( interface_axis )
39
39
self .gap = gap
40
40
self .wall_sigma = wall_sigma
41
41
self ._remove_void_particles = remove_void_particles
@@ -81,8 +81,7 @@ def _build(self):
81
81
interface .dihedrals .N = snap_L .dihedrals .N + snap_R .dihedrals .N
82
82
interface .dihedrals .M = 4
83
83
interface .pairs .N = snap_L .pairs .N + snap_R .pairs .N
84
- # Set up box. Box edge is doubled along the interface axis direction,
85
- # plus the gap
84
+ # Box edge is doubled along the interface axis plus the gap
86
85
axis_index = np .where (self .interface_axis != 0 )[0 ]
87
86
interface .configuration .box = np .copy (snap_L .configuration .box )
88
87
interface .configuration .box [axis_index ] *= 2
You can’t perform that action at this time.
0 commit comments