-
Notifications
You must be signed in to change notification settings - Fork 13
Unhandled model references #98
Comments
In all cases this is a result of The unhandled references are seen with many of the reference samples from ome-model:
So these are all containing an error propagated through many model revisions (possible), or there's a code bug. I'm uncertain that the Java tests comprehensively test these like the C++ tests. And it's also seen in these two tests which fill the metadata store by hand:
I'd suggest starting by looking at Assuming this is a real bug, it's a fairly critical functionality limitation for OME Files if the store is failing to link annotations. |
With some extra logging:
|
@joshmoore Should be fixed by ome/ome-model#81 While for Java this is fixing bogus warnings, for C++ it's fixing some fundamental brokenness in reference processing. As such, I think making an ome-model patch release with these fixes would be warranted. If we could include ome/ome-model#65 and the other build updates as well, that would be very helpful. Particularly with people starting to do serious work on top of OME Files, having this stuff working and in a release in the near future would be greatly desirable. |
With a current build, I'm seeing lots of this type of warning/error:
That's
std::shared_ptr<ome::xml::model::Reference>
in English.That's indicative of something wrong in the model code, or invalid input. The former is most likely. Either way, it's something which should be investigated and fixed. Has there been a change to the model without a corresponding update to the C++ model code or templates?
The text was updated successfully, but these errors were encountered: