blacklist integer matrices

This commit is contained in:
Carl Pearson
2021-11-24 10:40:41 -08:00
parent 28c9b8fdd1
commit e029b66edb

View File

@@ -9,16 +9,21 @@ def filter_reject_blacklist(mats):
# matrices that are actually integer # matrices that are actually integer
blacklist_integer = [ blacklist_integer = [
"Almedar", "Alemdar",
"aug2d", "aug2d",
"aug2dc", "aug2dc",
"aug3d", "aug3d",
"mc2depi" "cyl6",
"engine",
"mc2depi",
"t520",
"tube2"
] ]
filtered = [] filtered = []
for mat in mats: for mat in mats:
if mat.name in blacklist_integer: if mat.name in blacklist_integer:
print(f"BLACKLIST {mat.name}")
continue continue
filtered += [mat] filtered += [mat]
return filtered return filtered