You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to issue #170, opil==1.0b3.post2 does not validate that an SampleSet must have its template field set. This will be valuable to know when reading in an opil file that this type of condition is satisfied.
The text was updated successfully, but these errors were encountered:
There are a couple ways we might prevent this from happening.
Prevent users from constructing invalid objects. This would necessitate checking that a user has specified required parameters in the constructor call. I believe pySBOL does this type of checking in constructors but OPIL currently does not. This should be slated for the b5 release.
Add SHACL rules in the validation of the OPIL Document. In fact, I believe SHACL already checks that cardinality requirements for a property are fulfilled. However, there is a possible failure mode in which the pySBOL3 serializer inserts dummy values, and this is not currently checked.
Similar to issue #170, opil==1.0b3.post2 does not validate that an SampleSet must have its template field set. This will be valuable to know when reading in an opil file that this type of condition is satisfied.
The text was updated successfully, but these errors were encountered: