Commit graph

478 commits

Author SHA1 Message Date
Paul Müller
76a3619923 client with maximum number of jobs 2015-02-13 10:04:40 +01:00
Paul Müller
bacb0cf0ff minor change 2015-02-13 09:13:27 +01:00
Paul Müller
a2e5718040 tests speedup 2015-02-13 09:12:56 +01:00
Paul Müller
2356a6a05e code cleanup 2015-02-13 09:10:22 +01:00
Paul Müller
9bac31e692 code cleanup 2015-02-12 17:10:37 +01:00
Paul Müller
f531d6a4a4 Update setup.py 2015-02-12 16:58:43 +01:00
Paul Müller
8283a9ade0 Merge pull request #15 from cimatosa/reserve-tty
Reserve tty
2015-02-12 16:56:14 +01:00
Paul Müller
8ce8dc28f6 code cleanup 2015-02-12 16:55:20 +01:00
Paul Müller
f99bfee36c yat 2015-02-12 12:11:09 +01:00
Paul Müller
cd9409b6f1 typo 2015-02-12 12:09:13 +01:00
Paul Müller
6f95a13eef moved scipy warning directly to ode_warpper 2015-02-12 12:08:04 +01:00
Paul Müller
7ed6aa509c typo 2015-02-12 11:21:17 +01:00
Paul Müller
0cc24c7287 working implementation of decorated function calling decorated function while only displaying the progress bar of the first function. 2015-02-12 10:22:44 +01:00
Paul Müller
fb6a4c9172 proof of concept for reserving terminals 2015-02-12 09:53:16 +01:00
Paul Müller
c4f781e938 trying to implement tty reservations 2015-02-12 09:21:58 +01:00
Richard Hartmann
c24a9dd2dc bugfix in progressbar check_process_termination -> avoid infinite loop when sigkill does not stop the process 2015-02-04 14:53:05 +01:00
Richard Hartmann
d561ce6af0 small fix in progressBar -> reset character args for EACH line 2015-02-04 14:01:36 +01:00
Richard Hartmann
3c652e304b pop kwargs that are None from the kwargs dict, before passing is to set_integrator 2015-02-04 14:00:28 +01:00
Richard Hartmann
59693bad8b Merge branch 'cima_working' (still an intermediate step, but some new features needed to be transferred to master)
main new features:
  - a new decorator ProgressBarExtended class (see ec23d5d)
  - intermediate stopping of the progressBar loop, may make_sure_its_down, which will ensure
    that the loop has stopped -> this allows for clean printing inbetween
  - extended PersistentDataStructure (clear, show_stat, ... are the main things)
  - PersistentDataServer now expects that each arg (which must be named tuple now) has a member id
    which is used a key for the sql db -> faster look up that using big binay chunks

some bugs remove

some steps toward python2.7 compatibility
2015-01-29 20:59:24 +01:00
Richard Hartmann
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 2015-01-29 20:58:36 +01:00
Richard Hartmann
3179cc27ec test 'not in' for persistentDataStruture 2015-01-29 14:12:03 +01:00
Richard Hartmann
a81f15deb3 use special id flag store data via persistentData_Server, made merge_arg_and_const_arg work with new 'id' used by PersistentData_Server 2015-01-29 14:11:22 +01:00
Paul Müller
3a5432e4a5 Update setup.py 2015-01-29 10:19:02 +01:00
Richard Hartmann
fa17cefe97 test_progress, reduce change to get hang up. tested with 2.7 and 3.4 2015-01-29 00:01:40 +01:00
Richard Hartmann
bb605418d8 added PDS.clear() to remove all data from the database, and some tests for that 2015-01-28 22:45:41 +01:00
Richard Hartmann
73eeb26233 Merge branch 'master' of https://github.com/cimatosa/jobmanager into cima_working 2015-01-28 21:04:09 +01:00
Richard Hartmann
cf35c0d69c moved dict conversion to merge_arg_and_const_arg, to this functions can now handle dict_like data from named tuple 2015-01-28 15:41:43 +01:00
Richard Hartmann
e18320e0b8 minor bugfixes in PDS 2015-01-27 19:48:14 +01:00
Richard Hartmann
3a8ffe62ea minor advances in show PDS stats 2015-01-27 19:15:36 +01:00
Richard Hartmann
0030b7c8bb push to tqo 2015-01-27 18:54:09 +01:00
Richard Hartmann
5759b6c698 minor bugfix to push to tqo 2015-01-27 18:43:51 +01:00
Richard Hartmann
83b3ab106d minor bugfix to push to tqo 2015-01-27 18:40:22 +01:00
Richard Hartmann
3416e3b393 added status function for persistentDataStructure 2015-01-27 18:37:16 +01:00
Richard Hartmann
8270166b91 added verbose info for persistentDataServer in case of overwrite = True 2015-01-27 18:36:53 +01:00
Paul Müller
e2b050f942 shout -> shut 2015-01-27 14:30:16 +01:00
Richard Hartmann
9fca527563 added sub_data check as public member to PeristentDataStructure 2015-01-27 13:57:27 +01:00
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