Richard Hartmann
|
e10a28ce4c
|
moved test_decorator.py to tests (like all others
|
2015-01-27 13:56:24 +01:00 |
|
Richard Hartmann
|
808d81e07e
|
Merge branch 'master' into cima_working
|
2015-01-27 13:22:28 +01:00 |
|
Paul Müller
|
87c78b33c2
|
Merge pull request #12 from cimatosa/new_decorator
New decorator
|
2015-01-27 10:55:50 +01:00 |
|
Paul Müller
|
405c49fcd2
|
Merge branch 'master' into new_decorator
Conflicts:
jobmanager/progress.py
|
2015-01-27 10:55:15 +01:00 |
|
Paul Müller
|
37bf6e5737
|
Added override_count=False keyword to jobmanager.decorators.decorate_module_ProgressBar to enable switching to jobmanager.decorators.ProgressBarOverrideCount .
|
2015-01-27 08:19:57 +01:00 |
|
Richard Hartmann
|
7c9323636a
|
Merge branch 'new_decorator' into cima_working
|
2015-01-27 00:44:54 +01:00 |
|
Richard Hartmann
|
de29ceedb6
|
new decorator class ProgressBarOverrideCount which follows #12, including a test example
|
2015-01-27 00:39:31 +01:00 |
|
Richard Hartmann
|
ca3976749e
|
added more transparent coloring of the status info, not yet to be set by user
|
2015-01-27 00:37:27 +01:00 |
|
Richard Hartmann
|
49ffa49d9c
|
Merge branch 'new_decorator' into cima_working
|
2015-01-26 21:37:11 +01:00 |
|
Richard Hartmann
|
5fa703b579
|
Merge branch 'master' into cima_working
|
2015-01-26 21:33:19 +01:00 |
|
cimatosa
|
b02806d951
|
fixed typo in README.md and added more precise info to setup.py
|
2015-01-26 15:57:22 +01:00 |
|
Paul Müller
|
44e44971f7
|
Update README.md
|
2015-01-24 11:57:10 +01:00 |
|
cimatosa
|
f54eb0c447
|
some changed to make the test run with python2.7, and some more tests, still not done jet
|
2015-01-23 15:15:18 +01:00 |
|
cimatosa
|
643197eef7
|
fixed typo in jobmanager.py and added some debug info -> still neede because there is some touble with python2.7 and multiprocessing
|
2015-01-23 15:13:38 +01:00 |
|
cimatosa
|
01e589bd02
|
fixed bug in merge_arg_... when there is no 'args' at all, which is also valid as args beeing an empty tuple
|
2015-01-23 15:11:38 +01:00 |
|
cimatosa
|
7f3411b4ea
|
some intermed state
|
2015-01-22 15:27:13 +01:00 |
|
Paul Müller
|
4a747ac9e6
|
moved script to new tests folder
|
2015-01-21 19:42:20 +01:00 |
|
Paul Müller
|
91395ac5d4
|
"python setup.py test" now works
|
2015-01-21 19:42:20 +01:00 |
|
Paul Müller
|
050a108e83
|
Update README.md
|
2015-01-21 19:14:11 +01:00 |
|
Paul Müller
|
065b00154e
|
gitignore update
|
2015-01-21 19:06:00 +01:00 |
|
Paul Müller
|
5a0dc656a2
|
- added runtests.py (blob of pytest)
- html output with aha uses runtests.py
- renamed test directory
|
2015-01-21 19:06:00 +01:00 |
|
cimatosa
|
48831754f8
|
catch persistentData import Error when sqlitedict is not there
|
2015-01-21 15:03:46 +01:00 |
|
cimatosa
|
937617de75
|
minor changes to run the teste for the new_decorator branch using python2.7 and python3.4
|
2015-01-21 14:48:52 +01:00 |
|
cimatosa
|
913bf22be4
|
added test_servers.py
|
2015-01-21 14:31:45 +01:00 |
|
cimatosa
|
ce2ccfb41b
|
better error message when the number of subprocesses spawned by the client in non positive, some comments in the code
|
2015-01-21 14:30:54 +01:00 |
|
cimatosa
|
3594d67c12
|
minor change to make python 3.4 compatible. Changed default behavior of progressBar decorator. The functions to be decorated NEEDS (c,m) in their definition. made it also possible to call the decorated functions with c or/and m as positional agruments. Added test for that, moved existing tests to test/test_decorators.py. This closes #11
|
2015-01-21 14:27:42 +01:00 |
|
cimatosa
|
0301665936
|
fixed some errors in PersistentDataStructur
|
2015-01-20 17:12:09 +01:00 |
|
cimatosa
|
6c78fc07cb
|
Merge branch 'cima_working'
|
2015-01-19 17:50:38 +01:00 |
|
cimatosa
|
f9edd904c0
|
persistent Data can now assign other persistentDataStructures as values, testing for that included
|
2015-01-19 17:40:25 +01:00 |
|
Richard Hartmann
|
5b5e6eac9d
|
made const_arg beeing copied from client (seems more robust), fixed some trouble with catching 'Addresse in use error'
|
2015-01-15 16:17:58 +01:00 |
|
cimatosa
|
ba967893f7
|
intermed work on const_arg copy vs shared, handling port used Error, some highlighting
|
2015-01-14 15:07:01 +01:00 |
|
cimatosa
|
9d42345970
|
test working again, removed const_arg check for dict -> don't know why I implemented it in the first place
|
2015-01-14 11:13:37 +01:00 |
|
Paul Müller
|
2eb06686ab
|
better solution for max_count_value == 0
|
2015-01-13 19:35:02 +01:00 |
|
Paul Müller
|
4e711d4336
|
Fixed zero division error if max_count_value is zero.
|
2015-01-13 19:29:15 +01:00 |
|
cimatosa
|
fc7993d589
|
examine interchangeability of dict and namedtuple
|
2015-01-13 17:49:24 +01:00 |
|
cimatosa
|
638f487bc3
|
fixed PersistentData_Server, seems to work now
|
2015-01-13 17:47:57 +01:00 |
|
cimatosa
|
3d7ba46369
|
named special escape sequences in global variables, return bold identifier by default
|
2015-01-13 17:47:17 +01:00 |
|
cimatosa
|
370dc11c7a
|
added doc string (or rather a note about dics as sqlitedict blob keys)
|
2015-01-13 17:45:47 +01:00 |
|
cimatosa
|
d0650108d4
|
start server with no jobs will NOT raise en Exception anymore -> simply show note, modified allignment of JobmanagerServer.show_statistics
|
2015-01-13 17:44:51 +01:00 |
|
cimatosa
|
c1704a8b6e
|
made is possible to pass args and const_args as namedtuple to Integration_Clients, updated doc strings, modified kwargs update order, so args will overwrite const_args
|
2015-01-13 17:43:04 +01:00 |
|
cimatosa
|
51e8483b57
|
extending the PersistentData_Server, and some testing
|
2015-01-12 17:02:49 +01:00 |
|
cimatosa
|
149fc38b26
|
added __contain__ to PersistentDataStructure
|
2015-01-12 17:01:40 +01:00 |
|
cimatosa
|
9fbcf64d13
|
use new PersitentDataStructure class in PersistentData_Server, which will simple store all new gathered data in a sqlitedict, using 'arg' as key, and 'result' as value
|
2015-01-12 15:00:45 +01:00 |
|
cimatosa
|
4a5738620e
|
see how sqlitedict manages to write and read from same db using different processes
|
2015-01-12 14:58:57 +01:00 |
|
cimatosa
|
53ab312243
|
added example using FunctionCall_Client, which enabled to pass the function to call in parallel via const_arg of the jobmanagerServer
|
2015-01-07 15:02:08 +01:00 |
|
cimatosa
|
9653bdca06
|
minor changed: PREPEND local path to sys.path in examples, removed some debug info
|
2015-01-07 15:01:00 +01:00 |
|
cimatosa
|
9efffd943b
|
set default verbose = 1
|
2015-01-07 14:59:28 +01:00 |
|
cimatosa
|
879d89d36d
|
persistentData seems to work, including some testing
|
2015-01-07 14:23:55 +01:00 |
|
Paul Müller
|
94f2149716
|
simple example fix
ALWAYS USE `WITH` STATEMENT FOR SERVER.
|
2015-01-06 19:59:20 +01:00 |
|
cimatosa
|
bcad5d53d4
|
working on persistentData, seems to work now on first glance, including some tests
|
2015-01-06 19:11:02 +01:00 |
|