Skip to content

Commit

Permalink
Update manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed May 1, 2019
1 parent 9a58044 commit 64bde5b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/bio2bel_wikipathways/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Manager(CompathManager, BELNamespaceManagerMixin, BELManagerMixin, FlaskMi
"""Protein-pathway memberships."""

module_name = MODULE_NAME

_base = Base
edge_model = protein_pathway
flask_admin_models = [Pathway, Protein]
namespace_model = pathway_model = Pathway
Expand All @@ -44,10 +44,6 @@ class Manager(CompathManager, BELNamespaceManagerMixin, BELManagerMixin, FlaskMi
identifiers_namespace = 'wikipathways'
identifiers_url = 'http://identifiers.org/wikipathways/'

@property
def _base(self):
return Base

"""Override views in _make_admin"""

def _add_admin(self, app, **kwargs):
Expand Down

0 comments on commit 64bde5b

Please sign in to comment.