Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMP PR to test CI tests #16

Closed
wants to merge 45 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
45ce1ec
Add autodetect_cadet functionality from CADET-Process
schmoelder Mar 18, 2024
c71e705
clean up .gitignore
ronald-jaepel Mar 22, 2024
a4bf77b
Update test suite
ronald-jaepel Mar 22, 2024
52e0c6c
Clean up repository
ronald-jaepel Mar 22, 2024
1e5812e
Update docstrings
ronald-jaepel Apr 23, 2024
da30fdf
Simplify ctypes API calls and add type hints
sleweke-bayer Jun 16, 2023
cdd65ba
Use int for dtype (instead of numpy.int)
schmoelder Jun 20, 2023
0e1d630
WIP: Update methods
schmoelder Jun 16, 2023
07dc0e9
Update tests
schmoelder Jun 20, 2023
40bbe70
Formatting
schmoelder Jun 20, 2023
59053cd
Improve reading string arrays
schmoelder Jun 30, 2023
9fa63d0
Update reading results
schmoelder Jun 30, 2023
61d183c
Support last states, coordinates, solution times in C API interface
sleweke-bayer Oct 27, 2023
2ffc6b5
Remove old load implementation
schmoelder Mar 29, 2024
c0abeed
Add option to setup template with multiple particle types
schmoelder Mar 28, 2024
04f032f
Explicitly check if coordinates are not None
schmoelder Mar 29, 2024
dfdebb9
Return None if length of array is 0
schmoelder Mar 29, 2024
6a40c17
Formatting
schmoelder Mar 29, 2024
80ca262
Return if len of shape is 0
schmoelder Mar 29, 2024
b85c329
Formatting
schmoelder Mar 29, 2024
659d8b2
Return processed results
schmoelder Mar 29, 2024
035dde2
Remove unit from sensitivities call
schmoelder Mar 29, 2024
7ded74a
Update state variable names
schmoelder Mar 29, 2024
09c810b
Add TODOs
schmoelder Mar 29, 2024
bb95067
Require Python >3.10
schmoelder Mar 29, 2024
56b7f5b
Update pipeline
schmoelder Mar 29, 2024
b12624c
Add docstrings
schmoelder Mar 29, 2024
11bcf92
Check if write flag is False
schmoelder Mar 29, 2024
f8ca4b8
Only update if keys are present
schmoelder Mar 29, 2024
970549d
Formatting
schmoelder Mar 29, 2024
903cd70
Remove old code
schmoelder Mar 29, 2024
be5fab8
Fix loading state
schmoelder Mar 29, 2024
411fd4a
Fix loading sensitivities
schmoelder Mar 29, 2024
94669df
Fix splitting ports
schmoelder Mar 29, 2024
8d3bb5d
Add DLL test
schmoelder Mar 29, 2024
d5a7eeb
Fix loading bulk
schmoelder Mar 29, 2024
51f1bc8
Fix loading flux
schmoelder Mar 29, 2024
627a40a
Add test for solution times
schmoelder Mar 29, 2024
495676c
Remove singleton particle shell dimension
schmoelder Mar 29, 2024
fd50d9b
Add tests for lrm(p)
schmoelder Mar 29, 2024
98f5840
Add tests for Cstr
schmoelder Apr 18, 2024
fcf79e7
Formatting
schmoelder Apr 18, 2024
466cc4b
Update ordering of multi-dimensional data
schmoelder Apr 20, 2024
ef2fc2c
Merge branch 'master' into dll_rebased_onto_master
ronald-jaepel Apr 23, 2024
fbf6a21
Merge branch 'master' into dll_rebased_onto_master
ronald-jaepel Apr 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion cadet/cadet.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,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)
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
Loading