reject some integer matrices

This commit is contained in:
Carl Pearson
2021-11-24 08:37:13 -08:00
parent 2e015eb8cf
commit 28c9b8fdd1

View File

@@ -6,9 +6,19 @@ Dataset = collections.namedtuple("Dataset", ["name", "mats"])
def filter_reject_blacklist(mats):
# matrices that are actually integer
blacklist_integer = [
"Almedar",
"aug2d",
"aug2dc",
"aug3d",
"mc2depi"
]
filtered = []
for mat in mats:
if mat.name.endswith("_b"):
if mat.name in blacklist_integer:
continue
filtered += [mat]
return filtered