add styling changes

pull/1/head
Emmanuelle Vargas-Gonzalez 2021-02-16 09:44:03 -05:00
parent ef610ec8d3
commit fbea229004
3 changed files with 7 additions and 5 deletions

View File

@ -5,9 +5,10 @@ from .datastore import CompositeDataSource, DataStoreMixin
from .equivalence.graph import graph_equivalence, graph_similarity from .equivalence.graph import graph_equivalence, graph_similarity
from .equivalence.object import ( # noqa: F401 from .equivalence.object import ( # noqa: F401
WEIGHTS, check_property_present, custom_pattern_based, exact_match, WEIGHTS, check_property_present, custom_pattern_based, exact_match,
list_reference_check, partial_external_reference_based, partial_list_based, list_reference_check, object_equivalence, object_similarity,
partial_external_reference_based, partial_list_based,
partial_location_distance, partial_string_based, partial_timestamp_based, partial_location_distance, partial_string_based, partial_timestamp_based,
reference_check, object_equivalence, object_similarity, reference_check,
) )
from .parsing import parse as _parse from .parsing import parse as _parse

View File

@ -2,8 +2,9 @@
import logging import logging
from ..object import ( from ..object import (
WEIGHTS, exact_match, list_reference_check, partial_string_based, WEIGHTS, bucket_per_type, exact_match, list_reference_check, object_pairs,
partial_timestamp_based, reference_check, object_similarity, object_pairs, bucket_per_type object_similarity, partial_string_based, partial_timestamp_based,
reference_check,
) )
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -401,7 +401,7 @@ def list_reference_check(refs1, refs2, ds1, ds2, **weights):
pairs = object_pairs( pairs = object_pairs(
bucket_per_type(refs1, "id-split"), bucket_per_type(refs1, "id-split"),
bucket_per_type(refs2, "id-split"), bucket_per_type(refs2, "id-split"),
weights weights,
) )
for ref1, ref2 in pairs: for ref1, ref2 in pairs: