blacklist integer matrices
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user