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

flav-io / flavio / 770
94%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2021 10:42PM UTC
Jobs 4
Files 230
Run time 31s
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

pending completion
770

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%)

3.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 770.1 06 Mar 2021 10:42PM UTC 0
93.89
Travis Job 770.1
2 770.2 06 Mar 2021 10:42PM UTC 0
93.89
Travis Job 770.2
3 770.3 06 Mar 2021 10:42PM UTC 0
93.9
Travis Job 770.3
4 770.4 06 Mar 2021 10:42PM UTC 0
93.9
Travis Job 770.4
Source Files on build 770
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #770
  • 16fc7075 on github
  • Prev Build on master (#763)
  • Next Build on master (#771)
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