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

HEPData / hepdata / 985
83%

Build:
DEFAULT BRANCH: master
Ran 19 Jun 2020 11:03PM UTC
Jobs 1
Files 61
Run time 7s
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
985

push

travis-ci

GraemeWatt
elasticsearch: sort tables in search results by table ID not table name

* Previous code (from 2015) sorted by a digit in table name ("Table 1"),
  or by the table name otherwise. Mixed cases give a Python 3 exception:
  TypeError: '<' not supported between instances of 'int' and 'str'
* Could sort by 'recid' of table, but it doesn't match order of tables.
* The 'id' of a table reflects the order of tables, but need to use DB.
* Not ideal to access the DB from elasticsearch module, but it works.
* Need to add 'version' to search_test.py and omit DB access for test.

7 of 7 new or added lines in 1 file covered. (100.0%)

2179 of 2722 relevant lines covered (80.05%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 985.1 19 Jun 2020 11:03PM UTC 0
80.05
Travis Job 985.1
Source Files on build 985
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #985
  • 42ac44f9 on github
  • Prev Build on master (#975)
  • Next Build on master (#986)
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

© 2025 Coveralls, Inc