Skip to content

Commit

Permalink
opxrd/wrapper: Reintroduced strict loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Somerandomguy10111 committed Dec 8, 2024
1 parent 4414145 commit ef3fb6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions opxrd/wrapper/opxrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ def as_database_list(cls, root_dirpath : str, download : bool = True) -> list[Pa
for d in os.listdir(path=root_dirpath):
dirpath = os.path.join(root_dirpath, d)
time.sleep(0.01)
#TODO: This is temporary
db = PatternDB.load(dirpath=dirpath, strict=False)
#db = PatternDB.load(dirpath=dirpath, strict=True)
db = PatternDB.load(dirpath=dirpath, strict=True)
db.name = d

pattern_dbs.append(db)
Expand Down

0 comments on commit ef3fb6b

Please sign in to comment.