Skip to content

Commit

Permalink
Update C-API
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Leweke <[email protected]>
  • Loading branch information
schmoelder and sleweke-bayer committed Aug 15, 2024
1 parent 2817be1 commit 9aa243d
Show file tree
Hide file tree
Showing 5 changed files with 1,764 additions and 331 deletions.
11 changes: 9 additions & 2 deletions cadet/cadet.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,18 @@ def load_results(self):

def run(self, timeout=None, check=None):
data = self.cadet_runner.run(simulation=self.root.input, filename=self.filename, timeout=timeout, check=check)
# TODO: Why is this commented out?
# self.return_information = data
return data

def run_load(self, timeout=None, check=None, clear=True):
data = self.cadet_runner.run(simulation=self.root.input, filename=self.filename, timeout=timeout, check=check)
def run_load(self, timeout = None, check=None, clear=True):
data = self.cadet_runner.run(
simulation=self.root.input,
filename=self.filename,
timeout=timeout,
check=check
)
# TODO: Why is this commented out?
# self.return_information = data
self.load_results()
if clear:
Expand Down
Loading

0 comments on commit 9aa243d

Please sign in to comment.