Révision 8279a51d modules/dos_input.py
b/modules/dos_input.py | ||
---|---|---|
623 | 623 |
[-1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [0.0, 0.0, -1.0]] |
624 | 624 |
err_msg = "'min_coll_height' option is only implemented for " \ |
625 | 625 |
"'surf_norm_vect' to be one of the x, y or z axes. " |
626 |
if norm_vect != 'auto': |
|
626 |
if not isinstance(norm_vect, str) or norm_vect != 'auto':
|
|
627 | 627 |
check_expect_val(norm_vect.tolist(), cart_axes, err_msg) |
628 | 628 |
return min_coll_height |
629 | 629 |
|
Formats disponibles : Unified diff