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

dmentipl / plonk / 463 / 3
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 05 Aug 2020 03:06AM UTC
Files 42
Run time 13s
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

05 Aug 2020 03:03AM UTC coverage: 37.994% (-3.4%) from 41.355%
463.3

push

travis-ci

web-flow
Physical units are default on Snap (#24)

* Set physical units by default on Snap

* Add axis and colorbar labels by default in plot

* Set units in plot with str not Pint units

* Fix axis and cbar label units in plot

* Add warning if extent has no units in plot

* Add warning for z_slice without units in plot

* Add examples to particle_plot docstring

* Move get_array_in_code_units function

* Fix test_snap failure

* Fix issues with physical units in Profile

* Add units to Profile.to_dataframe method

* Update README.md to show physical units by default

* Refactor units in Snap and phantom reader

Changes include:

- Snap._array_registry functions return unitful quantities.
- Snap.units no longer exists.
- The add_array method no longer takes a units argument. It is assumed
that the function produces a unitful array.

In addition, removed some Snap.properties as they are only used to
produce other arrays.

* Get code units for extra quantities

* Remove unneeded variable

* Rename get_array_unit to get_array_code_unit

* Remove unneeded import

* Ignore some mypy errors

* Rename radial velocities on Snap extra quantities

* Fix bug from previous commit

* Fix issues in reading sink array units

* Update overview page in docs

* Update quickstart in docs

* Update quickstart in documentation

* Return units property on Snap and Simulation

Now it only has the core units, i.e. length, time, mass, and magnetic
field.

* Add fixes for previous commit

* Add missing units attribute to SubSnap

* Update documentation examples

* Fix bug in Snap translate method

* Fix bug in units for Snap translation and rotation

* Update examples in docs

* Change docs examples into scripts

* Add better view into available arrays on a Snap

Now if you add the argument `all=True` you see all possible array
options including, e.g. `postion_x`, `dust_fraction_001`, etc.

Also separate... (continued)

1163 of 3061 relevant lines covered (37.99%)

0.38 hits per line

Source Files on job 463.3
  • Tree
  • List 0
  • Changed 17
  • Source Changed 16
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 336
  • Travis Job 463.3
  • 177f2062 on github
  • Prev Job for on master (#416.1)
  • Next Job for on master (#464.2)
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