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

Builder #70

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Builder #70

wants to merge 6 commits into from

Conversation

RomanKova
Copy link

Included Builder pattern for Genome class. This pattern simplifies the creation of the object and makes it
less error prone. Objects created with Builder pattern are non modifiable and are threadsafe.
Earlier the python code was using genome as a string. This could be error prone as any wrongly written code could
make changes to the genome causing errors. The entites could be in inconsistent state.
Builder pattern takes care of all these problems.
Apart from the genomeBuilder I have also provided a generic genome builder. Which expresses the relationship
between chromosomes, genes and dnscode and constructs this object appropriately as per the specification of the builder pattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant