Skip to content

Commit

Permalink
Copy all input files to output
Browse files Browse the repository at this point in the history
  • Loading branch information
wvangeit committed Jul 30, 2024
1 parent 6dd69f5 commit adb3d69
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker_scripts/dakota-start.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import uuid

import dakota.environment as dakenv
import numpy as np
from osparc_filecomms import handshakers

logging.basicConfig(
Expand Down Expand Up @@ -107,6 +106,13 @@ def start(self):
time.sleep(POLLING_TIME)
dakota_conf = self.dakota_conf_path.read_text()

shutil.copytree(
self.input0_dir_path,
self.output0_dir_path,
dirs_exist_ok=True,
ignore=shutil.ignore_patterns("handshake.json"),
)

self.start_dakota(dakota_conf, self.output0_dir_path)

def model_callback(self, dak_inputs):
Expand Down

0 comments on commit adb3d69

Please sign in to comment.