Skip to content

Commit b8819b7

Browse files
author
Keian Noori
committed
shorten electronic piezo tensor search string by splitting over two lines
1 parent db7927d commit b8819b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pymatgen/io/vasp/outputs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3060,7 +3060,8 @@ def piezo_section_start(results, _match):
30603060
if not self.lrpa:
30613061
search.append(
30623062
[
3063-
r"PIEZOELECTRIC TENSOR \(including local field effects\)(?:\s*for\s*field\s*in\s*x,\s*y,\s*z\s*)? \(C/m\^2\)",
3063+
r"PIEZOELECTRIC TENSOR \(including local field effects\)"+
3064+
r"(?:\s*for\s*field\s*in\s*x,\s*y,\s*z\s*)? \(C/m\^2\)",
30643065
None,
30653066
piezo_section_start,
30663067
]

0 commit comments

Comments
 (0)