Skip to content

Commit 440b65c

Browse files
committed
do not call det_iter_cnt() in the __init__
1 parent a2fdfea commit 440b65c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def __init__(self, ec, logfile=None):
312312
self._init_log()
313313

314314
# number of iterations
315-
self.iter_cnt = self.det_iter_cnt()
315+
self.iter_cnt = -1
316316

317317
# try and use the specified group (if any)
318318
group_name = build_option('group')
@@ -4793,6 +4793,7 @@ def run_all_steps(self, run_test_cases):
47934793
if self.cfg['stop'] == 'cfg':
47944794
return True
47954795

4796+
self.iter_cnt = self.det_iter_cnt()
47964797
steps = self.get_steps(run_test_cases=run_test_cases, iteration_count=self.iter_cnt)
47974798

47984799
# figure out how many steps will actually be run (not be skipped)

0 commit comments

Comments
 (0)