Skip to content

Commit

Permalink
fix line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
lara committed Apr 3, 2024
1 parent d0818d0 commit 78c3780
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eessi/testsuite/tests/apps/lammps/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def assert_sanity(self):

@performance_function('img/s')
def perf(self):
return sn.extractsingle(r'^(?P<perf>[.0-9]+)% CPU use with [0-9]+ MPI tasks x [0-9]+ OpenMP threads', self.stdout, 'perf', float)
regex = r'^(?P<perf>[.0-9]+)% CPU use with [0-9]+ MPI tasks x [0-9]+ OpenMP threads'
return sn.extractsingle(regex, self.stdout, 'perf', float)

@run_after('init')
def run_after_init(self):
Expand Down

0 comments on commit 78c3780

Please sign in to comment.