salabim 24.0.16__tar.gz → 24.0.17__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {salabim-24.0.16 → salabim-24.0.17}/PKG-INFO +1 -1
- {salabim-24.0.16 → salabim-24.0.17}/pyproject.toml +1 -1
- {salabim-24.0.16 → salabim-24.0.17}/salabim/salabim.py +7 -8
- {salabim-24.0.16 → salabim-24.0.17}/salabim.egg-info/PKG-INFO +1 -1
- {salabim-24.0.16 → salabim-24.0.17}/README.md +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim/DejaVuSansMono.ttf +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim/LICENSE.txt +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim/__init__.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim/calibri.ttf +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim/mplus-1m-regular.ttf +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim.egg-info/SOURCES.txt +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim.egg-info/dependency_links.txt +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/salabim.egg-info/top_level.txt +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/setup.cfg +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test salabim.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_cap_now.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_componentgenerator.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_datetime.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_distributions.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_misc.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_monitor.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_process.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_queue.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_state.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_store.py +0 -0
- {salabim-24.0.16 → salabim-24.0.17}/tests/test_timeunit.py +0 -0
@@ -8,7 +8,7 @@ authors = [
|
|
8
8
|
{name = "Ruud van der Ham", email = "rt.van.der.ham@gmail.com"}
|
9
9
|
]
|
10
10
|
description = "salabim - discrete event simulation in Python"
|
11
|
-
version = "24.0.
|
11
|
+
version = "24.0.17"
|
12
12
|
readme = "README.md"
|
13
13
|
requires-python = ">=3.7"
|
14
14
|
dependencies = [
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# _ _ _ ____ _ _ ___ _
|
2
|
-
# ___ __ _ | | __ _ | |__ (_) _ __ ___ |___ \ | || | / _ \ / |
|
3
|
-
# / __| / _` || | / _` || '_ \ | || '_ ` _ \ __) || || |_ | | | | |
|
4
|
-
# \__ \| (_| || || (_| || |_) || || | | | | | / __/ |__ _| _ | |_| | _ |
|
5
|
-
# |___/ \__,_||_| \__,_||_.__/ |_||_| |_| |_| |_____| |_| (_) \___/ (_)|_|
|
1
|
+
# _ _ _ ____ _ _ ___ _ _____
|
2
|
+
# ___ __ _ | | __ _ | |__ (_) _ __ ___ |___ \ | || | / _ \ / ||___ |
|
3
|
+
# / __| / _` || | / _` || '_ \ | || '_ ` _ \ __) || || |_ | | | | | | / /
|
4
|
+
# \__ \| (_| || || (_| || |_) || || | | | | | / __/ |__ _| _ | |_| | _ | | / /
|
5
|
+
# |___/ \__,_||_| \__,_||_.__/ |_||_| |_| |_| |_____| |_| (_) \___/ (_)|_| /_/
|
6
6
|
# discrete event simulation
|
7
7
|
#
|
8
8
|
# see www.salabim.org for more information, the documentation and license information
|
9
9
|
|
10
|
-
__version__ = "24.0.
|
10
|
+
__version__ = "24.0.17"
|
11
11
|
|
12
12
|
import heapq
|
13
13
|
import random
|
@@ -7956,7 +7956,6 @@ by adding:
|
|
7956
7956
|
lineno = self.lineno_txt(add_at=True)
|
7957
7957
|
self.env.print_trace("", "", self.name() + " resume (" + self.status() + ")", merge_blanks(lineno, self._modetxt()))
|
7958
7958
|
if self.status.value == scheduled:
|
7959
|
-
reason = "hold"
|
7960
7959
|
self._reschedule(self.env._now + self._remaining_duration, priority, urgent, "hold", False)
|
7961
7960
|
else:
|
7962
7961
|
raise Exception(self.name() + " unexpected interrupted_status", self.status.value())
|
@@ -9066,7 +9065,7 @@ by adding:
|
|
9066
9065
|
honored = False
|
9067
9066
|
break
|
9068
9067
|
elif valuetype == 1:
|
9069
|
-
if eval(value.replace("$", "state._value")):
|
9068
|
+
if not eval(value.replace("$", "state._value")):
|
9070
9069
|
honored = False
|
9071
9070
|
break
|
9072
9071
|
elif valuetype == 2:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|