Skip to content
Snippets Groups Projects
Commit 0fb36a15 authored by Veronique Legrand's avatar Veronique Legrand
Browse files

next part of the fix for the same pb as the previous one

parent 22117ccf
No related branches found
No related tags found
No related merge requests found
Pipeline #152219 passed
...@@ -214,13 +214,12 @@ class RCCheckpoint_handler: ...@@ -214,13 +214,12 @@ class RCCheckpoint_handler:
def __init__(self,chk_freq,dir_chk,test_mode=False): def __init__(self,chk_freq,dir_chk,test_mode=False):
self.chk_freq=chk_freq self.chk_freq=chk_freq
self.test_mode = test_mode self.test_mode = test_mode
self.start_t=0 self.start_t=time.perf_counter_ns()
self.dir_chk = dir_chk self.dir_chk = dir_chk
# if self.test_mode == True: # if self.test_mode == True:
# self.v38_C5 = checkpoint_visitor_38_Cos5() # self.v38_C5 = checkpoint_visitor_38_Cos5()
# self.v11150_C5 = checkpoint_visitor_11150_Cos5() # self.v11150_C5 = checkpoint_visitor_11150_Cos5()
if self.test_mode==True: if self.test_mode==True:
self.start_t = time.perf_counter_ns()
if os.path.exists(dir_chk): if os.path.exists(dir_chk):
if not (os.path.isdir(dir_chk)): if not (os.path.isdir(dir_chk)):
raise RuntimeError("dir_chk must point to a directory") raise RuntimeError("dir_chk must point to a directory")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment