Skip to content

Commit 7c247d5

Browse files
committed
fix: pass patterns to get_data
1 parent 9b70487 commit 7c247d5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

deepmd/utils/data_system.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,8 @@ def get_data(
785785
The data system
786786
"""
787787
systems = jdata["systems"]
788-
systems = process_systems(systems)
788+
rglob_patterns = jdata.get("rglob_patterns", None)
789+
systems = process_systems(systems, patterns=rglob_patterns)
789790

790791
batch_size = jdata["batch_size"]
791792
sys_probs = jdata.get("sys_probs", None)

0 commit comments

Comments
 (0)