Skip to content

Commit

Permalink
Merge pull request #594 from biolink/gpad_differ
Browse files Browse the repository at this point in the history
gpad diff tool, calculate summary stats and group by columns, reports on exact and close matches as well as missing lines in one file compared to another.
  • Loading branch information
sierra-moxon committed Dec 1, 2021
2 parents 84331c2 + fb37f9e commit 7257dfa
Show file tree
Hide file tree
Showing 6 changed files with 455 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ontobio/io/assocparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def __str__(self):
attribute_values = ["{att}={val}".format(att=att, val=dict([(k, v) for k, v in value.items()][:8]) if isinstance(value, dict) else value) for att, value in vars(self).items()]
return "AssocParserConfig({})".format(",".join(attribute_values))


class Report(object):
"""
A report object that is generated as a result of a parse
Expand Down Expand Up @@ -345,7 +346,6 @@ class Report(object):
RULE_PASS = "Passes GO Rule"
INVALID_REFERENCES = "Only one reference per ID space allowed"


def __init__(self, group="unknown", dataset="unknown", config=None):
self.messages = []
self.n_lines = 0
Expand Down

0 comments on commit 7257dfa

Please sign in to comment.