Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data clamp needs to check if both sequence types are same #444

Open
walterxie opened this issue Feb 7, 2024 · 1 comment
Open

Data clamp needs to check if both sequence types are same #444

walterxie opened this issue Feb 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@walterxie
Copy link
Collaborator

Data clamp needs to check if both sequence types are same, such as both should be SequenceType.NUCLEOTIDE or ... :

GraphicalModel

default boolean isClamped(String id) {
        return (id != null && getDataDictionary().containsKey(id) &&
                getModelDictionary().containsKey(id) &&
                getModelDictionary().get(id) instanceof RandomVariable);
}
@walterxie walterxie added the enhancement New feature or request label Feb 7, 2024
@walterxie walterxie pinned this issue Feb 7, 2024
@walterxie
Copy link
Collaborator Author

Cannot add the validation in core, because the SequenceType is in the base.

@walterxie walterxie unpinned this issue Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant