Skip to content

Commit

Permalink
sort file paths (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbluque authored Nov 11, 2024
1 parent 61f86a4 commit 1301427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fairchem/core/datasets/base_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, config: dict):
if isinstance(config["src"], str):
self.paths = [Path(self.config["src"])]
else:
self.paths = tuple(Path(path) for path in config["src"])
self.paths = tuple(Path(path) for path in sorted(config["src"]))

self.lin_ref = None
if self.config.get("lin_ref", False):
Expand Down

0 comments on commit 1301427

Please sign in to comment.