• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hibtc / cpymad / 451 / 1
96%
master: 92%

Build:
Build:
LAST BUILD BRANCH: macos-arm64
DEFAULT BRANCH: master
Ran 16 Apr 2018 01:01AM UTC
Files 5
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Apr 2018 12:58AM UTC coverage: 73.908%. First build
451.1

push

travis-ci

coldfix
Release cpymad 1.0.0rc0

First pre-release for 1.0.0 with several backward incompatibilities.

- the Madx methods have been simplified to be only thin wrappers over the
  corresponding MAD-X commands, not taking any extra responsibilities such as
  automatically using sequences etc.
- rename ``Madx.tables/sequences`` to singular form
- disable passing dicts as range parameter for commands
- remove ``cpymad.util.is_match_param``.
- remove ``cpymad.libmadx.set_var`` routine. Always use ``input``!
- remove ``Madx.get_table`` method, use ``Madx.table.X`` instead
- rename ``Madx.evaluate`` to ``eval``
- remove ``Madx.set_value/set_expression/update_value``. Use assignment to
  attributes of ``Madx.globals/command/element`` instead.
- rename ``util.mad_command`` -> ``format_command``
- only ignore ``None`` parameters when generating MAD-X commands. This allows
  passing empty strings.
- remove ``cpymad.types.Expression``, replaced by new ``Parameter`` class, see
  below.
- remove ``Madx.active_sequence``, use ``Madx.sequence()`` instead
- the ``at/l`` attributes are now kept as the values specified by the user
  (relative to *refer* flag), and not overwritten anymore by the actual
  position or length. Use ``.position`` and ``.length`` attributes to access
  the node position/length instead!
- the ``name`` attribute is now the command/element name. The node name is
  now available as ``node_name``.

Introduced a new API for accessing additional metadata about command
parameters:

- added a ``Command.cmdpar.X`` namespace that can be used to retrieve a
  ``Parameter`` instance with additional metadata about the command parameter.
- rigorously distinguish between MAD-X command parameters and other attributes
  on elements/commands
- only command parameters can be accessed using the dict-like item access
  syntax while other metadata can only be accessed via attribute access
- use the type information for improving the composition of MAD-X command
  statements
... (continued)

626 of 847 relevant lines covered (73.91%)

0.74 hits per line

Source Files on job 451.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 406
  • Travis Job 451.1
  • 0dca1901 on github
  • Next Job for on release (#565.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc