Skip to content

Commit

Permalink
Updated pandasaurus_exceptions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ubyndr committed Oct 10, 2023
1 parent 2602b90 commit 8b65354
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pandasaurus/utils/pandasaurus_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from pandasaurus.resources.term import Term

class InvalidTerm(Exception):

class InvalidTerm(Exception):
def __init__(self, term_list: List[Term]):
"""
Exception raised for invalid ontology terms.
Expand All @@ -16,7 +16,6 @@ def __init__(self, term_list: List[Term]):


class ObsoletedTerm(Exception):

def __init__(self, term_list: List[Term]):
"""
Exception raised for obsoleted ontology terms.
Expand All @@ -33,7 +32,6 @@ def __init__(self, term_list: List[Term]):


class InvalidOntology(Exception):

def __init__(self, input_ontology: str, ontology_list: List[str]):
"""
Exception raised for invalid ontology names.
Expand Down

0 comments on commit 8b65354

Please sign in to comment.