Closed HGSilveri closed 5 months ago
LGTM. My only suggetion would be to clarify in the docstring when it can be fine to skip the validation and maybe also mention the associated performance gains
Thank you @MatthieuMoreau0 ! What do you think of this for the docstring?
skip_validation: Whether to skip the validation of the serialized
sequence against the abstract representation's JSON schema.
Skipping the validation is useful to cut down on execution
time, as this step takes significantly longer than the
serialization itself; it is also low risk, as the validation
is only defensively checking that there are no bugs in the
serialized sequence.
LGTM. My only suggetion would be to clarify in the docstring when it can be fine to skip the validation and maybe also mention the associated performance gains
Thank you @MatthieuMoreau0 ! What do you think of this for the docstring?
skip_validation: Whether to skip the validation of the serialized sequence against the abstract representation's JSON schema. Skipping the validation is useful to cut down on execution time, as this step takes significantly longer than the serialization itself; it is also low risk, as the validation is only defensively checking that there are no bugs in the serialized sequence.
Looks good!
Closes #689 .