# ** THIS BLOCK IS A BAND-AID SOLUTION **********************************************
# DEPENDENT ON A LINKML BUG FIX REPORTED AT
# https://github.com/linkml/linkml/issues/477
for item in documents:
if item.mapping_set.mappings == {}:
item.mapping_set.mappings = []
logging.warning(
"****** MAPPINGS IS FORCED TO BE AN EMPTY LIST.[cliques.py -> def split_into_cliques()] *****"
)
# **********************************************************************************
This is in reference to this code in
cliques.py
associated with commit https://github.com/mapping-commons/sssom-py/pull/172/commits/7b6c7e2641db3e550479272c7211cb1cef111183