Commit Graph

34 Commits

Author SHA1 Message Date
653f8d942e removed test code from prototyping 2021-03-09 18:56:50 +01:00
094e6a7f7c Add README.md 2021-03-09 18:54:48 +01:00
76d8a73828 handle Sequence subclasses (list/tuple/...); convert object arrays to strings (like the default for non-array types); convert built-in bools to ints (like numpy boolean arrays) 2021-03-05 21:21:36 +00:00
344768713d treat built-in bools as ints, handle numpy scalars 2021-03-05 19:35:01 +00:00
71c0c82db2 added support for numpy arrays 2021-03-05 19:15:38 +00:00
0402be5105 turned notes on type infering into unit test; started to rework infer_type function 2021-03-05 14:01:04 +00:00
2c428e52cc made name of entry function configurable (defaults to run); adjusted MissingRunFunctionError -> MissingEntryFunctionError 2021-02-15 11:12:23 +00:00
a44a32e48a moved code that deals with sets of PVInfo into separate file/class 2021-02-14 18:22:31 +00:00
bc39144fad slightly simpler logic 2021-02-14 14:08:52 +00:00
f1ec2aa674 separate dealing with manager object into separate file; added PVInfo.to_dict() 2021-02-14 13:35:41 +00:00
bca92d0ff7 separate PVInfo from serve code 2021-02-13 12:17:07 +00:00
8892b1f320 refactored, but still not good 2021-02-12 16:09:16 +00:00
dda1561fb9 prototype epics server 2021-02-12 14:08:11 +00:00
c31a953baf slightly cleaner 2021-02-08 13:13:46 +00:00
3d576b116a better errors 2021-02-08 13:13:24 +00:00
76debb28e7 slightly cleaner 2021-02-08 13:13:01 +00:00
8f849975c5 Module.start raises on missing func; Module.kill kills Task if available; Module.get_mtime returns None of file is missing instead of raising error; added try/except/print to ModuleManager._run_all; added module killing when removing module from cache; slowed down the output 2021-02-08 10:58:03 +00:00
6d6b4e0d51 add killthread function, make Task killable; Task daemonizes per default 2021-02-08 10:54:04 +00:00
b565c46178 ignore ignore; add infinite loop test that catched KeyboardInterrupt 2021-02-08 10:53:15 +00:00
8cc3210109 add tabs to printing in the test 2021-02-08 10:46:52 +00:00
645140add7 added running the script to Module, all are ran by ModuleManager 2021-02-08 10:06:51 +00:00
338a14d3cb added infinite loop test script 2021-02-08 10:05:13 +00:00
089da79074 switched to Module class 2021-02-07 19:00:54 +00:00
a3f68ec37d copy scripts 2021-02-07 16:27:41 +00:00
82deee8165 use Executor 2021-02-06 20:19:37 +00:00
8aebb82882 added Executor that knows its futures 2021-02-06 20:18:32 +00:00
894e97d1ca instead of waiting for all futures to end in each iteration, go to next iteration and don't start another of a still running one 2021-02-06 19:02:55 +00:00
6d1a06f7f9 test long sleeping 2021-02-06 18:33:26 +00:00
39d66d86e6 handle delete scripts 2021-02-06 18:33:08 +00:00
f31d1cf2ce moved ModuleManager to separate file 2021-02-06 13:57:36 +00:00
a3bc256c28 ModuleManager reloads only if file's mtime changed 2021-02-06 13:46:49 +00:00
296c091ef7 convert function to class 2021-02-06 13:22:48 +00:00
3a4b24f52d some error handling 2021-02-06 13:10:55 +00:00
13ab316144 prototype 2021-02-06 12:40:18 +00:00