Skip to content

Comments

Add .faa as a recognised fasta extension#684

Merged
yannickwurm merged 3 commits intowurmlab:masterfrom
tadast:tt/faa
Oct 3, 2023
Merged

Add .faa as a recognised fasta extension#684
yannickwurm merged 3 commits intowurmlab:masterfrom
tadast:tt/faa

Conversation

@tadast
Copy link
Collaborator

@tadast tadast commented Oct 2, 2023

It was missing from the list (its nucleotide counterpart .fna is in here already).

Also order the list alphabetically.

@ghost
Copy link

ghost commented Oct 2, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

It was missing from the list (its nucleotide complement .fna is in here).
Also order the list alphabetically.
Did a regex replace of some execute_script instance with native
capybara selectors that will wait for these elements to render
on the page before proceeding
# download to finish.

page.execute_script("$('.download-aln:eq(1)').click()")
expect(page).to have_selector('.download-aln', minimum: 30) # Wait for react to render all alignments
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: lower in the spec it tries to tick some checkboxes lower on the page and sometimes the test is faster than the react renderer, so adding this clause makes capybara wait until at least the first 30 alignments are rendered, ensuring checkbox selection will not fail

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great catch

@tadast tadast force-pushed the tt/faa branch 6 times, most recently from d81b8c8 to 0964017 Compare October 2, 2023 14:45
Tests were failing on the CI, because spec/dotdir is committed,
but gitignored, therefore locally I had xml and tsv files after
running the test suite, but on the CI they were not present, so
the issue was invisible.
@yannickwurm yannickwurm merged commit 832d1e4 into wurmlab:master Oct 3, 2023
@yannickwurm
Copy link
Member

yannickwurm commented Oct 3, 2023

Thank you @tadast - this is great

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.

2 participants