def missing(data_model): missing_variables = [] for definition in data_model[:]: if definition.has_missing: missing_variables.append(MissingDataType(definition.name)) return missing_variables
def missing(distance_matrix): missing_variables = [] for definition in distance_matrix[:]: if definition.has_missing: missing_variables.append(MissingDataType(definition.name)) return missing_variables