open-physiology / open-physiology-viewer

Apache License 2.0
7 stars 7 forks source link

version hash changes despite no changes to the input model #229

Closed tgbugs closed 1 year ago

tgbugs commented 1 year ago

I'm seeing spurious differences in the hash of the input model but the serialization is identical and unchanged in git. Perhaps related to some hidden values related to schemaVersion or something? (uuid is expected to change)

e.g. from spleen

-    apinatomy:schemaVersion "66864c834c303260af3348ec3c74144b467a89da" ;
-    apinatomy:uuid "09372661-523b-4547-81b0-9eedf23e1670" ;
-    apinatomy:version "2022a86a45181bf8a49fea0789c4a0ce23d0b902" .
+    apinatomy:schemaVersion "2d3bcb5f8c71363ce8d50bf44a27e1d8df36cf18" ;
+    apinatomy:uuid "17634dae-c1be-40d8-80f8-294c2098df24" ;
+    apinatomy:version "9fe93ccbd045803fbdbe610140d91c1f852faa9e" .
tgbugs commented 1 year ago

Maybe we are hashing the internal representation rather than the json representation of the input models?