Skip to content
Snippets Groups Projects
Commit 498e5477 authored by David Hendriks's avatar David Hendriks
Browse files

added idea to the MC result queue

parent 9712c6ef
No related branches found
No related tags found
No related merge requests found
...@@ -543,7 +543,7 @@ class evolution_functions: ...@@ -543,7 +543,7 @@ class evolution_functions:
self._monte_carlo_sampling_check_mass_threshold(system_dict) self._monte_carlo_sampling_check_mass_threshold(system_dict)
# Check based on custom threshold, which uses the result_queue # Check based on custom threshold, which uses the result_queue
# TODO: process the result_queue and pass this. HOw we do this (get only one, or get until the result queue is empty again) # TODO: process the result_queue and pass this. How we do this (get only one, or get until the result queue is empty again)
self._monte_carlo_sampling_check_custom_threshold(result_queue) self._monte_carlo_sampling_check_custom_threshold(result_queue)
###### ######
...@@ -826,7 +826,15 @@ class evolution_functions: ...@@ -826,7 +826,15 @@ class evolution_functions:
# If we're doing monte-carlo sampling with a custom # If we're doing monte-carlo sampling with a custom
if system_result is not None: if system_result is not None:
# TODO: fix that this is only handle if user-defined function is given # TODO: fix that this is only handle if user-defined function is given
# result_queue.put(system_result) # TODO: perhaps we should always put things in the system_result dict if the parse_function gives back something
# result_queue.put(
# {
# "system_result": system_result,
# "system_number": system_number,
# "full_system_dict": full_system_dict,
# }
# )
raise NotImplementedError("Functionality not implemented") raise NotImplementedError("Functionality not implemented")
end_runtime_binary_c = time.time() end_runtime_binary_c = time.time()
......
...@@ -26,7 +26,4 @@ max-line-length = 89 ...@@ -26,7 +26,4 @@ max-line-length = 89
max-complexity = 18 max-complexity = 18
[tool.coverage] [tool.coverage]
omit = ["binarycpython/tests/*", "*/tests/*"]
omit =
binarycpython/tests/*
*/tests/*
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