Ran
|
Jobs
4
|
Files
230
|
Run time
31s
|
Badge
README BADGES
|
push
travis-ci
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
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 770.1 | 230 |
93.89 |
Travis Job 770.1 | |
2 | 770.2 | 230 |
93.89 |
Travis Job 770.2 | |
3 | 770.3 | 230 |
93.9 |
Travis Job 770.3 | |
4 | 770.4 | 230 |
93.9 |
Travis Job 770.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|