Skip to content

Commit

Permalink
Values extraction #53 deferrable decorator removed
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguypierre committed Jun 19, 2024
1 parent 3a53add commit 35aa9c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/feelpp/benchmarking/reframe/regression-tests/heatTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ def set_executable_opts(self):
namePatt = '([a-zA-z\-]+)'
valPatt = '([0-9e\-\+\.]+)'

@sn.deferrable

def get_constructor_name(self, index=1):
scalePath = os.path.join(self.feelLogPath, 'heat.scalibility.HeatConstructor.data')
return sn.extractsingle(rf'nProc[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+',
scalePath, index, str)

@sn.deferrable

def get_solve_name(self, index=1):
scalePath = os.path.join(self.feelLogPath, 'heat.scalibility.HeatSolve.data')
return sn.extractsingle(rf'nProc[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}[\s]+{self.namePatt}',
scalePath, index, str)

@sn.deferrable

def get_postprocessing_name(self, index=1):
scalePath = os.path.join(self.feelLogPath, 'heat.scalibility.HeatPostProcessing.data')
return sn.extractsingle(rf'nProc[\s]+{self.namePatt}[\s]+',
Expand Down

0 comments on commit 35aa9c8

Please sign in to comment.