smallneuron 2.4.2__tar.gz → 2.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {smallneuron-2.4.2/src/smallneuron.egg-info → smallneuron-2.4.4}/PKG-INFO +1 -1
  2. {smallneuron-2.4.2 → smallneuron-2.4.4}/pyproject.toml +1 -1
  3. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/smallneuron.py +6 -4
  4. {smallneuron-2.4.2 → smallneuron-2.4.4/src/smallneuron.egg-info}/PKG-INFO +1 -1
  5. {smallneuron-2.4.2 → smallneuron-2.4.4}/.gitignore +0 -0
  6. {smallneuron-2.4.2 → smallneuron-2.4.4}/LICENSE +0 -0
  7. {smallneuron-2.4.2 → smallneuron-2.4.4}/README.md +0 -0
  8. {smallneuron-2.4.2 → smallneuron-2.4.4}/example.py +0 -0
  9. {smallneuron-2.4.2 → smallneuron-2.4.4}/setup.cfg +0 -0
  10. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/__init__.py +0 -0
  11. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/build +0 -0
  12. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/gpio_h3.c +0 -0
  13. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/gpio_h3.h +0 -0
  14. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/gpio_h3.so +0 -0
  15. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/logger.py +0 -0
  16. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/sndummy.py +0 -0
  17. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/sngpio.py +0 -0
  18. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/sninput.py +0 -0
  19. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/snmqtt.py +0 -0
  20. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/snserial.py +0 -0
  21. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/sntimer.py +0 -0
  22. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron/snwatcher.py +0 -0
  23. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron.egg-info/SOURCES.txt +0 -0
  24. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron.egg-info/dependency_links.txt +0 -0
  25. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron.egg-info/top_level.txt +0 -0
  26. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron_pelainux.egg-info/PKG-INFO +0 -0
  27. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron_pelainux.egg-info/SOURCES.txt +0 -0
  28. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron_pelainux.egg-info/dependency_links.txt +0 -0
  29. {smallneuron-2.4.2 → smallneuron-2.4.4}/src/smallneuron_pelainux.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: smallneuron
3
- Version: 2.4.2
3
+ Version: 2.4.4
4
4
  Summary: Small Neuron Workflow
5
5
  Author-email: Andres Artigas <andres@artigas.cl>
6
6
  Project-URL: Homepage, https://github.com/pypa/sampleproject
@@ -3,7 +3,7 @@ requires = ["setuptools", "setuptools-scm"]
3
3
 
4
4
  [project]
5
5
  name = "smallneuron"
6
- version = "2.4.2"
6
+ version = "2.4.4"
7
7
  authors = [
8
8
  { name="Andres Artigas", email="andres@artigas.cl" },
9
9
  ]
@@ -11,6 +11,7 @@ from datetime import datetime
11
11
  import sys
12
12
  import glob
13
13
  import bisect
14
+ import copy
14
15
  #
15
16
  # Para que funcione el tooltip debe set en formato svg, para generarlo usar:
16
17
  #
@@ -168,11 +169,11 @@ class EventManager:
168
169
  if node.desc != "":
169
170
  style = 'tooltip="' + ttfmt(node.desc) + '" ' + style
170
171
  if state == self.currentState:
171
- style = 'fillcolor="#a00000" '+style
172
+ style = style+'fillcolor="#a00000" '
172
173
  elif state == self.prevState:
173
- style = 'fillcolor="#fed104" fontcolor=black ' +style
174
+ style = style+'fillcolor="#fed104" fontcolor=black '
174
175
  if node._cmd == True:
175
- style = 'fillcolor="#a0a0a0" ' + style
176
+ style = style+'fillcolor="#a0a0a0" '
176
177
 
177
178
  f.write('"%s" [%s]\n' % (state, style))
178
179
 
@@ -308,11 +309,12 @@ class EventManager:
308
309
  self.currentNode.leave(event,params,node_to.state)
309
310
 
310
311
  # Entramos al nodo nuevo
312
+ original_params=copy.deepcopy(params) # por si enter los modifica y reportar lo que llego
311
313
  log.info("[",self.count,"] enter ", node_to.state, params)
312
314
  node_to.enter(event, params, self.currentState)
313
315
 
314
316
  # Cambiamos de estado
315
- self.change_state(event, params, node_to)
317
+ self.change_state(event, original_params, node_to)
316
318
  self.printGraph(event)
317
319
  elif event in self.cmds:
318
320
  log.info("[", self.count, "] Manager new cmd ", event)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: smallneuron
3
- Version: 2.4.2
3
+ Version: 2.4.4
4
4
  Summary: Small Neuron Workflow
5
5
  Author-email: Andres Artigas <andres@artigas.cl>
6
6
  Project-URL: Homepage, https://github.com/pypa/sampleproject
File without changes
File without changes
File without changes
File without changes
File without changes