Révision 8279a51d modules/screening.py
b/modules/screening.py | ||
---|---|---|
953 | 953 |
else: |
954 | 954 |
molec_nghbs = 0 |
955 | 955 |
for s, site in enumerate(sites_coords): |
956 |
if inp_norm_vect == 'auto': |
|
956 |
if isinstance(inp_norm_vect, str) and inp_norm_vect == 'auto':
|
|
957 | 957 |
norm_vect = compute_norm_vect(surf, sites[s], |
958 | 958 |
inp_vars['pbc_cell']) |
959 | 959 |
else: |
Formats disponibles : Unified diff