Skip to content

Commit

Permalink
Include universe version information if they are not compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 13, 2022
1 parent bbe3aab commit faa23bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/lsst/pipe/base/graph/_versionDeserializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,10 @@ def constructGraph(

if universe is not None:
if not universe.isCompatibleWith(self.infoMappings.universe):
saved = self.infoMappings.universe
raise RuntimeError(
"The saved dimension universe is not compatible with the supplied universe"
f"The saved dimension universe ({saved.namespace}@v{saved.version}) is not "
f"compatible with the supplied universe ({universe.namespace}@v{universe.version})."
)
else:
universe = self.infoMappings.universe
Expand Down

0 comments on commit faa23bd

Please sign in to comment.