Skip to content

Commit

Permalink
Merge branch 'develop' into public
Browse files Browse the repository at this point in the history
This commit fixes #7
  • Loading branch information
Tomas Teijeiro committed Jun 5, 2019
2 parents 73daf4c + 0264679 commit a6d8e80
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@ This project is implemented in pure python 3, so no installation is required. Ho

1. [sortedcontainers](https://pypi.python.org/pypi/sortedcontainers)
2. [numpy](https://pypi.python.org/pypi/numpy)
3. [python-dateutil](https://pypi.org/project/python-dateutil/)

In addition, the knowledge base for ECG interpretation depends on the following packages:

3. [scipy](https://pypi.python.org/pypi/scipy)
4. [scikit-learn](https://pypi.python.org/pypi/scikit-learn)
5. [PyWavelets](https://pypi.python.org/pypi/PyWavelets)
4. [scipy](https://pypi.python.org/pypi/scipy)
5. [scikit-learn](https://pypi.python.org/pypi/scikit-learn)
6. [PyWavelets](https://pypi.python.org/pypi/PyWavelets)

As optional dependencies to support the interactive visualization of the interpretation results and the interpretations tree and to run the demo examples, the following packages are also needed:

6. [matplotlib](https://pypi.python.org/pypi/matplotlib)
7. [networkx](https://pypi.python.org/pypi/networkx)
8. [pygraphviz](https://pypi.python.org/pypi/pygraphviz) and [graphviz](https://www.graphviz.org/)
7. [matplotlib](https://pypi.python.org/pypi/matplotlib)
8. [networkx](https://pypi.python.org/pypi/networkx)
9. [pygraphviz](https://pypi.python.org/pypi/pygraphviz) and [graphviz](https://www.graphviz.org/)

Finally, to read ECG signal records it is necessary to have access to a proper installation of the [WFDB software package](http://www.physionet.org/physiotools/wfdb.shtml).

Expand Down
4 changes: 3 additions & 1 deletion construe/inference/reasoning.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ def multicall_succ(interpretation):
yielded = weakref.WeakSet()
while True:
nxt = next((n for n in interpretation.child if n not in yielded), None)
nxt = nxt or next(successors)
nxt = nxt or next(successors, None)
if nxt is None:
return
yielded.add(nxt)
yield nxt

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ numpy
sortedcontainers
scipy
scikit-learn
python-dateutil
PyWavelets
matplotlib
networkx
Expand Down

0 comments on commit a6d8e80

Please sign in to comment.