@@ -2,15 +2,28 | |||||
2 |
|
2 | |||
3 | ### 2.3 |
|
3 | ### 2.3 | |
4 | * Added high order function `multiSchain` for multiprocessing scripts. |
|
4 | * Added high order function `multiSchain` for multiprocessing scripts. | |
5 | * Added a new graphics processing unit `PlotterReceiver`. It is decoupled from normal processing sequence with support for data generated by multiprocessing scripts. |
|
5 | * Added two new Processing Units `PublishData` and `ReceiverData` for receiving and sending dataOut through multiple ways (tcp, ipc, inproc). | |
|
6 | * Added a new graphics Processing Unit `PlotterReceiver`. It is decoupled from normal processing sequence with support for data generated by multiprocessing scripts. | |||
|
7 | * Added support for sending realtime graphic to web server. | |||
|
8 | * GUI command `schain` is now `schainGUI`. | |||
6 | * Added a CLI tool named `schain`. |
|
9 | * Added a CLI tool named `schain`. | |
7 | * Command for GUI is now `schainGUI`. |
|
10 | * Scripts templates can be now generated with `schain generate`. | |
|
11 | * Now it is possible to search Processing Units and Operations with `schain search [module]` to get the right name and its allowed parameters. | |||
|
12 | * `schain xml` to run xml scripts. | |||
8 | * Added suggestions when parameters are poorly written. |
|
13 | * Added suggestions when parameters are poorly written. | |
9 | * `Controller.start()` now runs in a different process than the process calling it. |
|
14 | * `Controller.start()` now runs in a different process than the process calling it. | |
|
15 | * Added `schainpy.utils.log` for log standarization. | |||
|
16 | * Running script on online mode no longer ignores date and hour. Issue #1109. | |||
|
17 | * Added support for receving voltage data directly from JARS (tcp, ipc). | |||
|
18 | * Updated README for MAC OS GUI installation. | |||
|
19 | * Setup now installs numpy. | |||
10 |
|
20 | |||
11 | ### 2.2.6 |
|
21 | ### 2.2.6 | |
12 | * Graphics generated by the GUI are now the same as generated by scripts. Issue #1074 |
|
22 | * Graphics generated by the GUI are now the same as generated by scripts. Issue #1074. | |
|
23 | * Added support for C extensions. | |||
|
24 | * function `hildebrand_sehkon` optimized with a C wrapper. | |||
13 | * Numpy version updated. |
|
25 | * Numpy version updated. | |
|
26 | * Migration to GIT. | |||
14 |
|
27 | |||
15 | ### 2.2.5: |
|
28 | ### 2.2.5: | |
16 | * splitProfiles and combineProfiles modules were added to VoltageProc and Signal Chain GUI. |
|
29 | * splitProfiles and combineProfiles modules were added to VoltageProc and Signal Chain GUI. |
@@ -17,26 +17,20 SCHAINPY - LOG | |||||
17 |
|
17 | |||
18 | import click |
|
18 | import click | |
19 |
|
19 | |||
20 |
|
||||
21 | def warning(message): |
|
20 | def warning(message): | |
22 | click.echo(click.style('[WARNING] - ' + message, fg='yellow')) |
|
21 | click.echo(click.style('[WARNING] - ' + message, fg='yellow')) | |
23 | pass |
|
|||
24 |
|
22 | |||
25 |
|
23 | |||
26 | def error(message): |
|
24 | def error(message): | |
27 | click.echo(click.style('[ERROR] - ' + message, fg='red')) |
|
25 | click.echo(click.style('[ERROR] - ' + message, fg='red', bg='black')) | |
28 | pass |
|
|||
29 |
|
26 | |||
30 |
|
27 | |||
31 | def success(message): |
|
28 | def success(message): | |
32 | click.echo(click.style(message, fg='green')) |
|
29 | click.echo(click.style(message, fg='green')) | |
33 | pass |
|
|||
34 |
|
||||
35 |
|
30 | |||
36 | def log(message): |
|
|||
37 | click.echo('[LOG] - ' + message) |
|
|||
38 | pass |
|
|||
39 |
|
31 | |||
|
32 | def log(message, topic='LOG'): | |||
|
33 | click.echo('[{}] - {}'.format(topic, message)) | |||
40 |
|
34 | |||
41 | def makelogger(topic, bg='reset', fg='reset'): |
|
35 | def makelogger(topic, bg='reset', fg='reset'): | |
42 | def func(message): |
|
36 | def func(message): |
@@ -42,11 +42,15 setup(name="schainpy", | |||||
42 | 'schainpy.gui.figures': ['*.png','*.jpg'], |
|
42 | 'schainpy.gui.figures': ['*.png','*.jpg'], | |
43 | }, |
|
43 | }, | |
44 | include_package_data=False, |
|
44 | include_package_data=False, | |
45 | scripts =['schainpy/gui/schainGUI', |
|
45 | scripts =['schainpy/gui/schainGUI'], | |
46 | 'schainpy/scripts/schain'], |
|
|||
47 | ext_modules=[ |
|
46 | ext_modules=[ | |
48 | Extension("cSchain", ["schainpy/model/proc/extensions.c"] |
|
47 | Extension("cSchain", ["schainpy/model/proc/extensions.c"] | |
49 | )], |
|
48 | )], | |
|
49 | entry_points={ | |||
|
50 | 'console_scripts': [ | |||
|
51 | 'schain = schaincli.cli:main', | |||
|
52 | ], | |||
|
53 | }, | |||
50 | cmdclass={'build_ext':build_ext}, |
|
54 | cmdclass={'build_ext':build_ext}, | |
51 | setup_requires=["numpy >= 1.11.2"], |
|
55 | setup_requires=["numpy >= 1.11.2"], | |
52 | install_requires=[ |
|
56 | install_requires=[ |
General Comments 0
You need to be logged in to leave comments.
Login now