IngoScholtes / pathpy

pathpy is an OpenSource python package for the modeling and analysis of pathways and temporal networks using higher-order and multi-order graphical models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception when calculating sub paths of empty Paths object

IngoScholtes opened this issue · comments

Call of expandSubPaths on empty paths object raises exception

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/cluster/home/ingosc/Acyclic_Paths/src/pathpy/pathpy/Paths.py", line 298, in expandSubPaths
    for l in range(max(self.paths)):
ValueError: max() arg is an empty sequence