Skip to content

Releases: MethodicalAcceleratorDesign/MAD-NG.py

v0.7.0

06 Jun 11:48
a27e663
Compare
Choose a tag to compare

What's Changed

The transfer of dicts now means that lists previously transferred using pymadng will now be broken. You will need to use the py:send(tbl, true) to send a shallow copy. Or if using the higher level, you must use .eval()

Full Changelog: v0.6.3...v0.7.0

v0.6.3

30 Apr 13:51
1213158
Compare
Choose a tag to compare

What's Changed

See MAD-NG Release 1.1.2 for more details

Full Changelog: v0.6.2...v0.6.3

v0.6.2

03 Apr 08:18
091d4c7
Compare
Choose a tag to compare

What's Changed

Skipped 0.6.1 due to incorrect license portrayed in README

Full Changelog: v0.6.0...v0.6.2

v0.6.0

06 Dec 08:37
57912fa
Compare
Choose a tag to compare

What's Changed

  • Improve stdout and stderr handling by @jgray-19 in #12
  • Remove debug input variable functionality, now it is only a boolean, and dictates whether the debug information is printed to the stdout.
  • Add stdout input to the MAD object, this allows the user to redirect the output of the MAD-NG process to a file.
  • Add redirect_stderr input to the MAD object, this allows the user to redirect the error output to the stdout file.
  • Add raise_on_madng_error input to the MAD object, which is on by default. This significantly changes current behaviour, now by default whenever MAD-NG raises an error, this will be received in the pipe to Python. Set to false to revert to the old behaviour.
  • Expose protected_send method to the user, this allows the user to send a protected string to MAD-NG. Only has different behaviour to send if raise_on_madng_error is set to false.

Also note, this pymadng version uses the MAD version 1.0.0

Full Changelog: v0.5.0...v0.6.0

v0.5.0

02 Dec 09:56
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

What's Changed

  • Modernise workflows by @jgray-19 in #8
  • Handling improvements by @jgray-19 in #9
  • Add history method to get the history of communication of strings to MAD-NG.
  • Rename a significant amount of the code to be more readable.
  • Format the code using ruff.
  • Convert to using annotations instead of typing.
  • Allow debug mode to be set to a string, which will be the file that the debug information is written to.
  • Remove support for Python EOL, now only supporting Python 3.9 and above.
  • Change how ctrl-c is handled, now it will raise a KeyboardInterrupt error and delete the MAD process. \

Full Changelog: v0.4.6...v0.5.0

v0.4.6

24 Jan 15:44
de96588
Compare
Choose a tag to compare

No Change - updating binary.

Full Changelog: v0.4.5...v0.4.6

pymadng 0.4.5

17 Jan 15:32
1692c8c
Compare
Choose a tag to compare

Update to MAD-NG version 0.9.8

pymadng 0.4.4

28 Nov 00:09
9f7ae58
Compare
Choose a tag to compare

Remove bug where pymadng is not made aware of error during calling an object, leading to returning of incorrect data.

Full Changelog: v0.4.3...v0.4.4

pymadng 0.4.3

24 Nov 23:49
Compare
Choose a tag to compare

Full Changelog: v0.4.2...v0.4.3

Update GitHub Actions to always use the latest version of MAD-NG.
Update tests to be more robust.

Main Change is pymadng version on PyPI now uses the latest version of MAD-NG (released 20/10/2023)

pymadng 0.4.2

18 Oct 19:48
b8b4640
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.4.2