Skip to content

Commit e4f513f

Browse files
database/opxrd: Reduced as_database_list printing to single message
1 parent 4b28784 commit e4f513f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opxrd/database/opxrd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def as_database_list(cls, root_dirpath : str, download : bool = True) -> list[Pa
2929
cls._prepare_files(root_dirpath=root_dirpath)
3030

3131
pattern_dbs = []
32+
print(f'- Loading databases from {root_dirpath}')
3233
for d in os.listdir(path=root_dirpath):
3334
dirpath = os.path.join(root_dirpath, d)
34-
print(f' - Loading database {d}')
3535
time.sleep(0.01)
3636
db = PatternDB.load(dirpath=dirpath, strict=True)
3737
db.name = d

0 commit comments

Comments
 (0)