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

flav-io / flavio / 770 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2021 10:42PM UTC
Files 230
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

06 Mar 2021 10:40PM UTC coverage: 93.886% (+0.003%) from 93.883%
770.1

push

travis-ci

web-flow
Theory citation function (#123)

* Copy over PyBaMM citations code

Also add license notice

* Minimal working version of citations function

By default, just cite the flavio paper.
Removed the read_citation method, as rather than reading the bibtex
from a file, it seems better to just ouput the INSPIRE texkeys and
worry about getting bibtex from INSPIRE later.
(E.g. if you print to a .tex file, you could use INSPIRE's bibliography
generator at https://inspirehep.net/bibliography-generator, or if fixed
David's inspiretools python package.)

* A initial citation reference for testing

The way flavio does Gamma_12 is based on the a,b,c notation originally
introduced in the 2003 BBLN paper

* Add SM_citations function to Observable class

Gives the theory papers to be cited for an observable, using a throwaway
instance.
As part of this, move the registering of the flavio paper out of the
constructor so you don't get that as well.

* Merge _reset method into constructor

Since this only gets used here, just do it in the constructor.
(In the original PyBaMM version the _reset just gets used for testing,
which I think we want to do slightly differently anyway.)

* Add docstring to SM_citations

* Copy over the PyBaMM citation test class

* Revert "Merge _reset method into constructor"

This reverts commit a6a545ecc.
Yeah, we need the reset method for testing...

* Rejig the print functions to return a list

Return something instead of printing directly, unless outputting to a
file.

* Add some tests of the citation functionality

* Fix typo in docstring

* Citations for B->Xgamma

Note the CP asymmetry needs citations adding, wherever the numbers in
ka1_r, ka2_r, ka1_i came from.

* Citations for meson mixing

Just the Inami-Lim function - everything else worth citing comes in
through parameters (fB, B, RG factors)

* Add citations for W and Z observables

* Improve... (continued)

13866 of 14769 relevant lines covered (93.89%)

0.94 hits per line

Source Files on job 770.1
  • Tree
  • List 0
  • Changed 38
  • Source Changed 38
  • Coverage Changed 38
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 690
  • Travis Job 770.1
  • 16fc7075 on github
  • Prev Job for on master (#763.3)
  • Next Job for on master (#771.3)
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