Skip to content

Commit a2222e6

Browse files
committed
Modified Travis and Coverage files
1 parent 69dbdc6 commit a2222e6

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[run]
2-
branch = False
2+
branch = True
33

44
source =
55
PyTrack

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ python:
55
- "3.6"
66
os:
77
- linux
8+
env:
9+
- DISPLAY=:99.0
810
before_install:
11+
- sh -e /etc/init.d/xvfb start
912
- sudo apt-get install python-tk
1013
install:
1114
- pip3 install -r requirements.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f57df86d1eb94be0b150f45e16977566)](https://app.codacy.com/app/titoghose/PyTrack?utm_source=github.com&utm_medium=referral&utm_content=titoghose/PyTrack&utm_campaign=Badge_Grade_Dashboard)
22
[![Build Status](https://travis-ci.org/titoghose/PyTrack.svg?branch=master)](https://travis-ci.org/titoghose/PyTrack)
33
[![codecov](https://codecov.io/gh/titoghose/PyTrack/branch/master/graph/badge.svg)](https://codecov.io/gh/titoghose/PyTrack)
4-
[![Documentation Status](https://readthedocs.org/projects/pytrack-ntu/badge/?version=latest)](https://pytrack-ntu.readthedocs.io/en/latest/?badge=latest)
4+
[![Documentation Status](https://readthedocs.org/projects/pytrack-ntu/badge/)](https://pytrack-ntu.readthedocs.io/en/latest/)
55

66
# PyTrack
77

tests/test.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,18 @@
3535
statistical_test="anova",
3636
file_creation=True)
3737

38+
exp.analyse(parameter_list={"all"},
39+
statistical_test="anova",
40+
file_creation=True)
41+
3842
exp.analyse(parameter_list={"all"},
3943
statistical_test="ttest",
4044
file_creation=True)
4145

46+
exp.analyse(parameter_list={"all"},
47+
statistical_test="RM_anova",
48+
file_creation=True)
49+
4250
#############################################################
4351
## 2. Running no tests. Just storing analysis data in Results folder ##
4452
#############################################################
@@ -56,4 +64,6 @@
5664

5765
# Access metadata dictionary for particular subject and averaged for stimulus types
5866
agg_type_meta = exp.getMetaData(sub=subject_name,
59-
stim=None)
67+
stim=None)
68+
69+
exp.visualizeData()

tests/testStandAlone.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@
4242
# Some functionality usage. See documentation of Stimulus class for advanced use.
4343
stim.findEyeMetaData()
4444
features = stim.sensors["EyeTracker"].metadata # Getting dictioary of found metadata/features
45-
stim.findMicrosaccades(plot_ms=True)
45+
stim.findMicrosaccades(plot_ms=True)
46+
stim.gazePlot(show_fig=False, save_fig=True)
47+
stim.gazeHeatMap(show_fig=False, save_fig=True)
48+
stim.visualize()

0 commit comments

Comments
 (0)