diff --git a/python/lib/modeldata/dmod/modeldata/hydrofabric/geopackage_hydrofabric.py b/python/lib/modeldata/dmod/modeldata/hydrofabric/geopackage_hydrofabric.py index 2ec8395d2..89b9d52ad 100644 --- a/python/lib/modeldata/dmod/modeldata/hydrofabric/geopackage_hydrofabric.py +++ b/python/lib/modeldata/dmod/modeldata/hydrofabric/geopackage_hydrofabric.py @@ -546,7 +546,7 @@ def uid(self) -> str: int A unique id for this instance. """ - layer_hashes = [hash_pandas_object(self._dataframes[layer]).values.sum() for layer in self._layer_names] + layer_hashes = [hash_pandas_object(self._dataframes[layer]).values.sum() for layer in sorted(self._layer_names)] return hashlib.sha1(','.join([str(h) for h in layer_hashes]).encode('UTF-8')).hexdigest() @property