smallneuron 2.0.7__tar.gz → 2.0.9__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 (30) hide show
  1. {smallneuron-2.0.7/src/smallneuron.egg-info → smallneuron-2.0.9}/PKG-INFO +1 -1
  2. {smallneuron-2.0.7 → smallneuron-2.0.9}/pyproject.toml +1 -1
  3. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/smallneuron.py +4 -4
  4. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/sntimer.py +1 -1
  5. {smallneuron-2.0.7 → smallneuron-2.0.9/src/smallneuron.egg-info}/PKG-INFO +1 -1
  6. {smallneuron-2.0.7 → smallneuron-2.0.9}/.gitignore +0 -0
  7. {smallneuron-2.0.7 → smallneuron-2.0.9}/LICENSE +0 -0
  8. {smallneuron-2.0.7 → smallneuron-2.0.9}/README.md +0 -0
  9. {smallneuron-2.0.7 → smallneuron-2.0.9}/example.py +0 -0
  10. {smallneuron-2.0.7 → smallneuron-2.0.9}/setup.cfg +0 -0
  11. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/__init__.py +0 -0
  12. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/build +0 -0
  13. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/gpio_h3.c +0 -0
  14. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/gpio_h3.h +0 -0
  15. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/gpio_h3.so +0 -0
  16. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/logger.py +0 -0
  17. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/snapi.py +0 -0
  18. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/sndummy.py +0 -0
  19. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/sngpio.py +0 -0
  20. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/sninput.py +0 -0
  21. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/snmqtt.py +0 -0
  22. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/snserial.py +0 -0
  23. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron/snwatcher.py +0 -0
  24. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron.egg-info/SOURCES.txt +0 -0
  25. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron.egg-info/dependency_links.txt +0 -0
  26. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron.egg-info/top_level.txt +0 -0
  27. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron_pelainux.egg-info/PKG-INFO +0 -0
  28. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron_pelainux.egg-info/SOURCES.txt +0 -0
  29. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron_pelainux.egg-info/dependency_links.txt +0 -0
  30. {smallneuron-2.0.7 → smallneuron-2.0.9}/src/smallneuron_pelainux.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smallneuron
3
- Version: 2.0.7
3
+ Version: 2.0.9
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.0.7"
6
+ version = "2.0.9"
7
7
  authors = [
8
8
  { name="Andres Artigas", email="andres@artigas.cl" },
9
9
  ]
@@ -139,13 +139,13 @@ class EventManager:
139
139
  node = Node.nodelist[state]
140
140
  style = node.style
141
141
  if node.desc != "":
142
- style = style + ' tooltip="' + ttfmt(node.desc) + '"'
142
+ style = 'tooltip="' + ttfmt(node.desc) + '" ' + style
143
143
  if state == self.currentState:
144
- style = style + ' fillcolor="#a00000"'
144
+ style = 'fillcolor="#a00000" '+style
145
145
  elif state == self.prevState:
146
- style = style + ' fillcolor="#fed104" fontcolor=black'
146
+ style = 'fillcolor="#fed104" fontcolor=black ' +style
147
147
  if node._cmd == True:
148
- style = style + ' fillcolor="#a0a0a0"'
148
+ style = 'fillcolor="#a0a0a0" ' + style
149
149
 
150
150
  f.write("%s [%s]\n" % (state, style))
151
151
 
@@ -29,7 +29,7 @@ class SnTimer():
29
29
  if valid != None:
30
30
  event_args["validUntil"] = self.eventManager.count+valid
31
31
 
32
- return self.eventManager.waitForEvent(event=event, event_args=event_args,
32
+ return self.eventManager.watchEvent(event=event, event_args=event_args,
33
33
  callback_obj=self, callback_function_args={"time":time},
34
34
  mode="noloop")
35
35
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smallneuron
3
- Version: 2.0.7
3
+ Version: 2.0.9
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