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

Protein and DNA settings do not get updated in GUI #35

Open
smirarab opened this issue Jan 30, 2014 · 0 comments
Open

Protein and DNA settings do not get updated in GUI #35

smirarab opened this issue Jan 30, 2014 · 0 comments

Comments

@smirarab
Copy link
Member

In GUI, if you choose a Protein dataset, and then select to a DNA dataset, when the DNA alignment is read, the datatype and models are not updated to DNA.

The reason is the following line:

                     if self.datatype.Value == "Protein":
                         datatype_list = ["PROTEIN"]
                     else:
                         datatype_list = ["DNA", "RNA", "PROTEIN"]

So, when the data type is set to protein, automatic type selection is not given the option to choose other types.

Not sure why this if is needed, but it seems really weird that if you mistakenly select a protein alignment and then switch to a dna alignment, the GUI gets confused.

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

No branches or pull requests

1 participant