Commit graph

  • 49ecd70e2f Initial sphinx documentation. Paul Müller 2015-04-03 08:17:37 +02:00
  • ae3cd03d99 made some more changes when dealing with Socket Exception to work with python2 also Richard Hartmann 2015-04-02 16:52:29 +02:00
  • cc9e5d441d new queue put/get Error handling (from cima_working) Richard Hartmann 2015-04-02 09:33:04 +02:00
  • 0f79fe2058 minor code formatting cimatosa 2015-04-01 15:18:09 +02:00
  • c71eb3575c some PB fancy output formatting cimatosa 2015-04-01 14:40:01 +02:00
  • c6a142af08 python2.7 hack to make math.ceil return an integer cimatosa 2015-04-01 13:37:16 +02:00
  • e17992d0c2 got fancy ProgressBar and related stuff from cima_working cimatosa 2015-04-01 13:29:31 +02:00
  • 78efd43dc2 make progressBar aware of terminal resize, added percentage to progressBarFanc, fixed some tty reservation related issues cimatosa 2015-04-01 13:24:35 +02:00
  • 7cb62bb8c9 added fancy PB cimatosa 2015-03-31 19:21:36 +02:00
  • b042b2447a handle errors during proxy operation like 'get' and 'put' -> give helpful error messages and try to reconnect in certain circumstances cimatosa 2015-03-30 16:42:22 +02:00
  • d7f4163956 minor cimatosa 2015-03-27 11:17:54 +01:00
  • 6534b71f3d merge master into cima_workung cimatosa 2015-03-27 10:56:46 +01:00
  • 13b8c83995 changed some error/status prints cimatosa 2015-03-27 10:36:55 +01:00
  • c68fed4c83 first try to test reconnect (v2) cimatosa 2015-03-27 10:19:11 +01:00
  • dd23f07894 first try to test reconnect cimatosa 2015-03-27 10:16:36 +01:00
  • 91a9b90377 new stuff to handle 'connection closed by peer' Error cimatosa 2015-03-27 09:48:15 +01:00
  • 1eef7e9bc9 catch permission error when trying to change niceness, give user info, run without changing niceness cimatosa 2015-03-25 14:56:02 +01:00
  • 4fd2f4a4b3 minor changes in jobmanager client concerning debug/info messages cimatosa 2015-03-25 14:22:21 +01:00
  • 87c2a16652 added exception and traceback print in case ay unexpected error occurres when the client gets/pushes data from/to the queue cimatosa 2015-03-23 16:44:27 +01:00
  • b3f06bf3fb minor bugfix - decoration a few objects did not work. Paul Müller 2015-03-05 13:51:24 +01:00
  • 392e92da3d removed KEY NOT FOUND print before raising an exception cimatosa 2015-02-24 17:45:45 +01:00
  • 718ffe3c8a module decorator now takes decorator class as argument Paul Müller 2015-02-23 16:22:09 +01:00
  • c3ff79d9b5 fixed tiny count error cimatosa 2015-02-18 15:51:34 +01:00
  • 66b0ed4ede print key error info when key not found in persistent DB cimatosa 2015-02-18 15:41:06 +01:00
  • c579a8660d changed order in Server.__exit__, process data first, close syncmanager later because there are still some not understood issues cimatosa 2015-02-18 15:40:36 +01:00
  • 23c19b42da Merge pull request #17 from cimatosa/client_maxnumjobs Paul Müller 2015-02-17 19:32:29 +01:00
  • 8aa90b559b ready to merge Paul Müller 2015-02-17 19:32:13 +01:00
  • f10ad7b477 irgendwas Paul Müller 2015-02-17 19:21:31 +01:00
  • eea0e79474 move id out of try statement Paul Müller 2015-02-17 13:13:46 +01:00
  • c7e8451b4d repaired/improved progress.get_terminal_size, closes #3 Paul Müller 2015-02-17 13:10:40 +01:00
  • 3dd4499e9c minor bugfixes which occured whe using non tty as stdout Richard Hartmann 2015-02-17 00:40:21 +01:00
  • 249e41673f minor change Paul Müller 2015-02-16 15:42:34 +01:00
  • 9c950aaac3 removed ipython Paul Müller 2015-02-16 15:29:47 +01:00
  • 5e43dc4847 repaired test_clients.py Paul Müller 2015-02-16 15:28:42 +01:00
  • 852021d4fd repaired test_progress.test_why_with_statement Paul Müller 2015-02-16 14:57:04 +01:00
  • 5b28a5f091 sqlitedict version 1.2.0 available online; closes #8 Paul Müller 2015-02-16 14:36:56 +01:00
  • 935e893ea1 doc Paul Müller 2015-02-13 10:21:38 +01:00
  • 76a3619923 client with maximum number of jobs Paul Müller 2015-02-13 10:04:40 +01:00
  • bacb0cf0ff minor change Paul Müller 2015-02-13 09:13:27 +01:00
  • a2e5718040 tests speedup Paul Müller 2015-02-13 09:12:56 +01:00
  • 2356a6a05e code cleanup Paul Müller 2015-02-13 09:10:22 +01:00
  • 9bac31e692 code cleanup Paul Müller 2015-02-12 17:10:37 +01:00
  • f531d6a4a4 Update setup.py Paul Müller 2015-02-12 16:58:43 +01:00
  • 8283a9ade0 Merge pull request #15 from cimatosa/reserve-tty Paul Müller 2015-02-12 16:56:14 +01:00
  • 8ce8dc28f6 code cleanup Paul Müller 2015-02-12 16:55:20 +01:00
  • f99bfee36c yat Paul Müller 2015-02-12 12:11:09 +01:00
  • cd9409b6f1 typo Paul Müller 2015-02-12 12:09:13 +01:00
  • 6f95a13eef moved scipy warning directly to ode_warpper Paul Müller 2015-02-12 12:08:04 +01:00
  • 7ed6aa509c typo Paul Müller 2015-02-12 11:21:17 +01:00
  • 0cc24c7287 working implementation of decorated function calling decorated function while only displaying the progress bar of the first function. Paul Müller 2015-02-12 10:22:44 +01:00
  • fb6a4c9172 proof of concept for reserving terminals Paul Müller 2015-02-12 09:53:16 +01:00
  • c4f781e938 trying to implement tty reservations Paul Müller 2015-02-12 09:21:58 +01:00
  • c24a9dd2dc bugfix in progressbar check_process_termination -> avoid infinite loop when sigkill does not stop the process Richard Hartmann 2015-02-04 14:53:05 +01:00
  • d561ce6af0 small fix in progressBar -> reset character args for EACH line Richard Hartmann 2015-02-04 14:01:36 +01:00
  • 3c652e304b pop kwargs that are None from the kwargs dict, before passing is to set_integrator Richard Hartmann 2015-02-04 14:00:28 +01:00
  • 59693bad8b Merge branch 'cima_working' (still an intermediate step, but some new features needed to be transferred to master) Richard Hartmann 2015-01-29 20:59:24 +01:00
  • ec23d5d168 new progress decorator, 1) (de)activate with kwargs in function call 2) gives access to the progressBar instance -> allows for stop to do clean printing -- and tests for that Richard Hartmann 2015-01-29 20:58:36 +01:00
  • 3179cc27ec test 'not in' for persistentDataStruture Richard Hartmann 2015-01-29 14:12:03 +01:00
  • a81f15deb3 use special id flag store data via persistentData_Server, made merge_arg_and_const_arg work with new 'id' used by PersistentData_Server Richard Hartmann 2015-01-29 14:11:22 +01:00
  • 3a5432e4a5 Update setup.py Paul Müller 2015-01-29 10:19:02 +01:00
  • fa17cefe97 test_progress, reduce change to get hang up. tested with 2.7 and 3.4 Richard Hartmann 2015-01-29 00:01:40 +01:00
  • bb605418d8 added PDS.clear() to remove all data from the database, and some tests for that Richard Hartmann 2015-01-28 22:45:41 +01:00
  • 73eeb26233 Merge branch 'master' of https://github.com/cimatosa/jobmanager into cima_working Richard Hartmann 2015-01-28 21:04:09 +01:00
  • cf35c0d69c moved dict conversion to merge_arg_and_const_arg, to this functions can now handle dict_like data from named tuple Richard Hartmann 2015-01-28 15:41:43 +01:00
  • e18320e0b8 minor bugfixes in PDS Richard Hartmann 2015-01-27 19:48:14 +01:00
  • 3a8ffe62ea minor advances in show PDS stats Richard Hartmann 2015-01-27 19:15:36 +01:00
  • 0030b7c8bb push to tqo Richard Hartmann 2015-01-27 18:54:09 +01:00
  • 5759b6c698 minor bugfix to push to tqo Richard Hartmann 2015-01-27 18:43:51 +01:00
  • 83b3ab106d minor bugfix to push to tqo Richard Hartmann 2015-01-27 18:40:22 +01:00
  • 3416e3b393 added status function for persistentDataStructure Richard Hartmann 2015-01-27 18:37:16 +01:00
  • 8270166b91 added verbose info for persistentDataServer in case of overwrite = True Richard Hartmann 2015-01-27 18:36:53 +01:00
  • e2b050f942 shout -> shut Paul Müller 2015-01-27 11:28:35 +01:00
  • 9fca527563 added sub_data check as public member to PeristentDataStructure Richard Hartmann 2015-01-27 13:57:27 +01:00
  • e10a28ce4c moved test_decorator.py to tests (like all others Richard Hartmann 2015-01-27 13:56:24 +01:00
  • 808d81e07e Merge branch 'master' into cima_working Richard Hartmann 2015-01-27 13:22:28 +01:00
  • 87c78b33c2 Merge pull request #12 from cimatosa/new_decorator Paul Müller 2015-01-27 10:55:50 +01:00
  • 405c49fcd2 Merge branch 'master' into new_decorator Paul Müller 2015-01-27 10:55:15 +01:00
  • 37bf6e5737 Added override_count=False keyword to jobmanager.decorators.decorate_module_ProgressBar to enable switching to jobmanager.decorators.ProgressBarOverrideCount. Paul Müller 2015-01-27 08:19:57 +01:00
  • 7c9323636a Merge branch 'new_decorator' into cima_working Richard Hartmann 2015-01-27 00:44:54 +01:00
  • de29ceedb6 new decorator class ProgressBarOverrideCount which follows #12, including a test example Richard Hartmann 2015-01-27 00:39:31 +01:00
  • ca3976749e added more transparent coloring of the status info, not yet to be set by user Richard Hartmann 2015-01-27 00:37:27 +01:00
  • 49ffa49d9c Merge branch 'new_decorator' into cima_working Richard Hartmann 2015-01-26 21:37:11 +01:00
  • 5fa703b579 Merge branch 'master' into cima_working Richard Hartmann 2015-01-26 21:33:19 +01:00
  • b02806d951 fixed typo in README.md and added more precise info to setup.py cimatosa 2015-01-26 15:55:14 +01:00
  • 44e44971f7 Update README.md Paul Müller 2015-01-24 11:57:10 +01:00
  • f54eb0c447 some changed to make the test run with python2.7, and some more tests, still not done jet cimatosa 2015-01-23 15:15:18 +01:00
  • 643197eef7 fixed typo in jobmanager.py and added some debug info -> still neede because there is some touble with python2.7 and multiprocessing cimatosa 2015-01-23 15:13:38 +01:00
  • 01e589bd02 fixed bug in merge_arg_... when there is no 'args' at all, which is also valid as args beeing an empty tuple cimatosa 2015-01-23 15:11:38 +01:00
  • 7f3411b4ea some intermed state cimatosa 2015-01-22 15:27:13 +01:00
  • 4a747ac9e6 moved script to new tests folder Paul Müller 2015-01-21 19:41:56 +01:00
  • 91395ac5d4 "python setup.py test" now works Paul Müller 2015-01-21 19:41:25 +01:00
  • 050a108e83 Update README.md Paul Müller 2015-01-21 19:14:11 +01:00
  • 065b00154e gitignore update Paul Müller 2015-01-21 13:55:22 +01:00
  • 5a0dc656a2 - added runtests.py (blob of pytest) - html output with aha uses runtests.py - renamed test directory Paul Müller 2015-01-21 13:49:51 +01:00
  • 48831754f8 catch persistentData import Error when sqlitedict is not there cimatosa 2015-01-21 14:45:41 +01:00
  • 937617de75 minor changes to run the teste for the new_decorator branch using python2.7 and python3.4 cimatosa 2015-01-21 14:48:52 +01:00
  • 913bf22be4 added test_servers.py cimatosa 2015-01-21 14:31:45 +01:00
  • ce2ccfb41b better error message when the number of subprocesses spawned by the client in non positive, some comments in the code cimatosa 2015-01-21 14:30:54 +01:00
  • 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 cimatosa 2015-01-21 14:27:42 +01:00
  • 0301665936 fixed some errors in PersistentDataStructur cimatosa 2015-01-20 17:12:09 +01:00