Kappa-Dev / KAMI

Bio-curation library for modelling cellular signalling
MIT License
7 stars 0 forks source link

KamiHierarchy issue #4

Closed slegare2 closed 6 years ago

slegare2 commented 6 years ago

Error on calling KamiHierarchy().

h = KamiHierarchy() Traceback (most recent call last): File "", line 1, in File "/home/venv_newregraph/lib/python3.6/site-packages/kami-0.1-py3.6.egg/kami/hierarchy.py", line 163, in init self.add_typing(s, t, mapping, total=True, attrs=attrs) TypeError: add_typing() got an unexpected keyword argument 'total'

Argument 'total' is absent from ReGraph/regraph/hierarchy.py.

def add_typing(self, source, target, mapping, attrs=None): """Add homomorphism to the hierarchy.