Commit ed09c631 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

fixed sprng5 cleaning

parent a1bf344d
Pipeline #71429 canceled with stage
......@@ -32,7 +32,8 @@ class MLMCMpp(Mpp):
self.run_subprocess(['make', '-j'], cwd=SPRNG5_DIR)
def clean_sprng5(self):
self.clean_directory(SPRNG5_DIR, True)
if os.path.isdir(SPRNG5_DIR):
self.clean_directory(SPRNG5_DIR, True)
def build(self):
self.build_sprng5()
......@@ -262,12 +263,12 @@ class MLMCMpp(Mpp):
df.to_csv(path)
def clean_sprng5(self):
self.clean_directory(SPRNG5_DIR, False)
self.clean_directory(SPRNG5_DIR, True)
mpp = MLMCMpp()
if __name__ == "__main__":
# mpp.kill()
mpp.clean_sprng5()
mpp.clean_build()
mpp.build()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment