File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,10 +223,7 @@ def modify(
223223 all_phys = []
224224 non_shared_bridge_phys = []
225225 for c in connectivity0 .connections_to (b ):
226- if (
227- not _is_ghost (mol , [c ])[0 ]
228- and not _is_ghost (mol , [c ], is_lambda1 = True )[0 ]
229- ):
226+ if not _is_ghost (mol , [c ])[0 ]:
230227 all_phys .append (c )
231228 if c .value () not in shared_ghost_bridges :
232229 non_shared_bridge_phys .append (c )
@@ -256,10 +253,7 @@ def modify(
256253 all_phys = []
257254 non_shared_bridge_phys = []
258255 for c in connectivity1 .connections_to (b ):
259- if (
260- not _is_ghost (mol , [c ])[0 ]
261- and not _is_ghost (mol , [c ], is_lambda1 = True )[0 ]
262- ):
256+ if not _is_ghost (mol , [c ], is_lambda1 = True )[0 ]:
263257 all_phys .append (c )
264258 if c .value () not in shared_ghost_bridges :
265259 non_shared_bridge_phys .append (c )
You can’t perform that action at this time.
0 commit comments