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

phenopolis / phenopolis / 512
25%

Build:
DEFAULT BRANCH: master
Ran 15 Oct 2017 04:40PM UTC
Jobs 1
Files 35
Run time 1s
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
512

push

travis-ci

web-flow
Neo4j migration (#162)

First stage of consolidating calls to Neo4j.

NB you’ll need to set the neo4j port that you use in phenopolis/local.cfg NEO4J_PORT.

Authentication and change_password now use the Neo4j Python Driver (pypackage neo4j-driver) as recommended by Neo4j (#159) and removed py2neo. A global neo4j_driver is set up and
with neo4j_driver.session() as neo4j_session: is used, as per 13th July discussion, #159.

Neo4j uri and password is set in phenopolis/local.cfg.

Tests have been updated to load a test user and demo user in to a Neo4j database. 

Reinstated display of phenopolis version number in the ‘about’ page. If no tagged version number is available, it displays the time of the last commit.

* Working on migrating to Neo4j Python Driver in views/__init__.py. Added test on users db.

* Add test data.

* Added test on Users in Neo4j.

* Corrected test on neo4j user data by checking for empty result.

* Changed check_auth function to use Neo4j-driver instead of py2neo.

* Migrated change_password to use Neo4j-driver and added a test.

* Refactored to use neo4j_driver from views module in the tests too. Removed test_login because it is now tested in test_neo4j. Added demo user to neo4j at start of test_gene.

* Reinstated the version number on the 'about' page. It is a tag version number if available or the last commit date if not.

* Removed py2neo because it is no longer used.

* Corrected config setting.

* Testing neo4j on a different port.

* Set neo4j port back to 7687, as required by Travis.

* Testing neo4j on a different port.

* Set neo4j port back to 7687, as required by Travis.

* Get neo4j settings from app.config instead of direct from config file.

* Add neo4j to easy_install.

* Add note on setting Neo4j details in easy_install.

* Corrected links in README.md. Renamed test_neo4j to test_login.

64 of 64 new or added lines in 3 files covered. (100.0%)

960 of 3938 relevant lines covered (24.38%)

0.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
100.0
views/__init__.py
18
100.0
views/neo4j_setup.py

Uncovered Existing Lines

Lines Coverage ∆ File
11
100.0
views/gene.py
13
100.0
views/my_patients.py
131
100.0
views/individual.py
344
100.0
views/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 512.1 15 Oct 2017 04:40PM UTC 0
24.38
Travis Job 512.1
Source Files on build 512
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #512
  • e805cbb1 on github
  • Prev Build on master (#503)
  • Next Build on master (#519)
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