Skip to content

Commit 11a3cb4

Browse files
authored
bump test python version to 3.7-3.9 (#244)
* bump test python version to 3.7-3.10 * rm 3.10 * fix test error
1 parent c08c74c commit 11a3cb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8]
12+
python-version: [3.7, 3.8, 3.9]
1313

1414
steps:
1515
- uses: actions/checkout@v2

dpdata/vasp/outcar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def system_info (lines, type_idx_zero = False) :
2020
m = re.search(r'NELM\s*=\s*(\d+)', ii)
2121
if m:
2222
nelm = int(m.group(1))
23-
elif 'ions per type' in ii :
23+
if 'ions per type' in ii :
2424
atom_numbs_ = [int(s) for s in ii.split()[4:]]
2525
if atom_numbs is None :
2626
atom_numbs = atom_numbs_

0 commit comments

Comments
 (0)