Skip to content

Commit

Permalink
Merge pull request #47 from alliance-genome/test_update
Browse files Browse the repository at this point in the history
Update UI config and test scripts for new structure
  • Loading branch information
nuin authored Oct 4, 2024
2 parents 2492405 + c1af4ac commit 12f9f1a
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 39 deletions.
129 changes: 100 additions & 29 deletions tests/UI/config.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,104 @@
{
"SGD": {

"main":{
"url": "https://blast.alliancegenome.org/blast/SGD/main",
"nucl": "ATGGATTCTGGTATGTTCTAGCGCTTGCACCATCCCATTTAACTGTAAGAAGAATTGCACGGTCCCAATTGCTCGAGAGATTTCTCTTTTACCTTTTTTTACTATTTTTCACTCTCCCATAACCTCCTATATTGACTGATCTGTAATAACCACGATATTATTGGAATAAATAGGGGCTTGAAATTTGGAAAAAAAAAAAAAACTGAAATATTTTCGTGATAAGTGATAGTGATATTCTTCTTTTATTTGCTACTGTTACTAAGTCTCATGTACTAACATCGATTGCTTCATTCTTTTTGTTGCTATATTATATGTTTAGAGGTTGCTGCTTTGGTTATTGATAACGGTTCTGGTATGTGTAAAGCCGGTTTTGCCGGTGACGACGCTCCTCGTGCTGTCTTCCCATCTATCGTCGGTAGACCAAGACACCAAGGTATCATGGTCGGTATGGGTCAAAAAGACTCCTACGTTGGTGATGAAGCTCAATCCAAGAGAGGTATCTTGACTTTACGTTACCCAATTGAACACGGTATTGTCACCAACTGGGACGATATGGAAAAGATCTGGCATCATACCTTCTACAACGAATTGAGAGTTGCCCCAGAAGAACACCCTGTTCTTTTGACTGAAGCTCCAATGAACCCTAAATCAAACAGAGAAAG",
"prot": "MDSEVAALVIDNGSGMCKAGFAGDDAPRAVFPSIVGRPRHQGIMVGMGQKDSYVGDEAQSKRGILTLRYPIEHGIVTNWDDMEKIWHHTFYNELRVAPEEHPVLLTEAPMNPKSNREKMTQIMFETFNVPAFYVSIQAVLSLYSSGRTTGIVLDSGDGVTHVVPIYAGFSLPHAILRIDLAGRDLTDYLMKILSERGYSFSTTAEREIVRDIKEKLCYVALDFEQEMQTAAQSSSIEKSYELPDGQVITIGNERFRAPEALFHPSVLGLESAGIDQTTYNSIMKCDVDVRKELYGNIVMSGGTTMFPGIAERMQKEITALAPSSMKVKIIAPPERKYSVWIGGSILASLTTFQQMWISKQEYDESGPSIVHHKCF",
"items": []
},
"fungal": {
"url": "https://blast.alliancegenome.org/blast/SGD/main",
"nucl": "ATGGATTCTGGTATGTTCTAGCGCTTGCACCATCCCATTTAACTGTAAGAAGAATTGCACGGTCCCAATTGCTCGAGAGATTTCTCTTTTACCTTTTTTTACTATTTTTCACTCTCCCATAACCTCCTATATTGACTGATCTGTAATAACCACGATATTATTGGAATAAATAGGGGCTTGAAATTTGGAAAAAAAAAAAAAACTGAAATATTTTCGTGATAAGTGATAGTGATATTCTTCTTTTATTTGCTACTGTTACTAAGTCTCATGTACTAACATCGATTGCTTCATTCTTTTTGTTGCTATATTATATGTTTAGAGGTTGCTGCTTTGGTTATTGATAACGGTTCTGGTATGTGTAAAGCCGGTTTTGCCGGTGACGACGCTCCTCGTGCTGTCTTCCCATCTATCGTCGGTAGACCAAGACACCAAGGTATCATGGTCGGTATGGGTCAAAAAGACTCCTACGTTGGTGATGAAGCTCAATCCAAGAGAGGTATCTTGACTTTACGTTACCCAATTGAACACGGTATTGTCACCAACTGGGACGATATGGAAAAGATCTGGCATCATACCTTCTACAACGAATTGAGAGTTGCCCCAGAAGAACACCCTGTTCTTTTGACTGAAGCTCCAATGAACCCTAAATCAAACAGAGAAAG",
"prot": "MDSEVAALVIDNGSGMCKAGFAGDDAPRAVFPSIVGRPRHQGIMVGMGQKDSYVGDEAQSKRGILTLRYPIEHGIVTNWDDMEKIWHHTFYNELRVAPEEHPVLLTEAPMNPKSNREKMTQIMFETFNVPAFYVSIQAVLSLYSSGRTTGIVLDSGDGVTHVVPIYAGFSLPHAILRIDLAGRDLTDYLMKILSERGYSFSTTAEREIVRDIKEKLCYVALDFEQEMQTAAQSSSIEKSYELPDGQVITIGNERFRAPEALFHPSVLGLESAGIDQTTYNSIMKCDVDVRKELYGNIVMSGGTTMFPGIAERMQKEITALAPSSMKVKIIAPPERKYSVWIGGSILASLTTFQQMWISKQEYDESGPSIVHHKCF",
"items": ["Akanthomyces_anchor", "Ascochyta_anchor", "Aspergillus_anchor", "Botrytis_anchor", "Brettanomyces_anchor", "Candida_anchor", "Cercospora_anchor", "Colletotrichum_anchor", "Cryptococcus_anchor", "Cutaneotrichosporon_anchor", "Debaryomyces_anchor", "Drechmeria_anchor", "Encephalitozoon_anchor", "Eremothecium_anchor", "Fulvia_anchor", "Fusarium_anchor", "Kazachstania_anchor", "Kluyveromyces_anchor", "Komagataella_anchor", "Kwoniella_anchor", "Lachancea_anchor", "Lodderomyces_anchor", "Malassezia_anchor", "Marasmius_anchor", "Nakaseomyces_anchor", "Naumovozyma_anchor", "Neurospora_anchor", "Ogataea_anchor", "Penicillium_anchor", "Pichia_anchor", "Pochonia_anchor", "Podospora_anchor", "Psilocybe_anchor", "Puccinia_anchor", "Purpureocillium_anchor", "Pyricularia_anchor", "Rhizoctonia_anchor", "Saccharomyces_anchor", "Saccharomycodes_anchor", "Scheffersomyces_anchor", "Schizosaccharomyces_anchor", "Sporisorium_anchor", "Sugiyamaella_anchor", "Talaromyces_anchor", "Tetrapisispora_anchor", "Thermothelomyces_anchor", "Thermothielavioides_anchor", "Torulaspora_anchor", "Trichoderma_anchor", "Ustilaginoidea_anchor", "Ustilago_anchor", "Vanrija_anchor", "Yarrowia_anchor", "Zygosaccharomyces_anchor", "Zygotorulaspora_anchor", "Zymoseptoria_anchor", "Akanthomyces_anchor", "Ascochyta_anchor", "Aspergillus_anchor", "Botrytis_anchor", "Brettanomyces_anchor", "Candida_anchor", "Cercospora_anchor", "Colletotrichum_anchor", "Cryptococcus_anchor", "Cutaneotrichosporon_anchor", "Debaryomyces_anchor", "Drechmeria_anchor", "Encephalitozoon_anchor", "Eremothecium_anchor", "Fulvia_anchor", "Fusarium_anchor", "Kazachstania_anchor", "Kluyveromyces_anchor", "Komagataella_anchor", "Kwoniella_anchor", "Lachancea_anchor", "Lodderomyces_anchor", "Malassezia_anchor", "Marasmius_anchor", "Nakaseomyces_anchor", "Naumovozyma_anchor", "Neurospora_anchor", "Ogataea_anchor", "Penicillium_anchor", "Pichia_anchor", "Pochonia_anchor", "Podospora_anchor", "Psilocybe_anchor", "Puccinia_anchor", "Purpureocillium_anchor", "Pyricularia_anchor", "Rhizoctonia_anchor", "Saccharomyces_anchor", "Saccharomycodes_anchor", "Scheffersomyces_anchor", "Schizosaccharomyces_anchor", "Sporisorium_anchor", "Sugiyamaella_anchor", "Talaromyces_anchor", "Tetrapisispora_anchor", "Thermothelomyces_anchor", "Thermothielavioides_anchor", "Torulaspora_anchor", "Trichoderma_anchor", "Ustilaginoidea_anchor", "Ustilago_anchor", "Vanrija_anchor", "Yarrowia_anchor", "Zygosaccharomyces_anchor", "Zygotorulaspora_anchor", "Zymoseptoria_anchor"]
}
"main": {
"url": "https://blast.alliancegenome.org/blast/SGD/main",
"nucl": "ATGGATTCTGGTATGTTCTAGCGCTTGCACCATCCCATTTAACTGTAAGAAGAATTGCACGGTCCCAATTGCTCGAGAGATTTCTCTTTTACCTTTTTTTACTATTTTTCACTCTCCCATAACCTCCTATATTGACTGATCTGTAATAACCACGATATTATTGGAATAAATAGGGGCTTGAAATTTGGAAAAAAAAAAAAAACTGAAATATTTTCGTGATAAGTGATAGTGATATTCTTCTTTTATTTGCTACTGTTACTAAGTCTCATGTACTAACATCGATTGCTTCATTCTTTTTGTTGCTATATTATATGTTTAGAGGTTGCTGCTTTGGTTATTGATAACGGTTCTGGTATGTGTAAAGCCGGTTTTGCCGGTGACGACGCTCCTCGTGCTGTCTTCCCATCTATCGTCGGTAGACCAAGACACCAAGGTATCATGGTCGGTATGGGTCAAAAAGACTCCTACGTTGGTGATGAAGCTCAATCCAAGAGAGGTATCTTGACTTTACGTTACCCAATTGAACACGGTATTGTCACCAACTGGGACGATATGGAAAAGATCTGGCATCATACCTTCTACAACGAATTGAGAGTTGCCCCAGAAGAACACCCTGTTCTTTTGACTGAAGCTCCAATGAACCCTAAATCAAACAGAGAAAG",
"prot": "MDSEVAALVIDNGSGMCKAGFAGDDAPRAVFPSIVGRPRHQGIMVGMGQKDSYVGDEAQSKRGILTLRYPIEHGIVTNWDDMEKIWHHTFYNELRVAPEEHPVLLTEAPMNPKSNREKMTQIMFETFNVPAFYVSIQAVLSLYSSGRTTGIVLDSGDGVTHVVPIYAGFSLPHAILRIDLAGRDLTDYLMKILSERGYSFSTTAEREIVRDIKEKLCYVALDFEQEMQTAAQSSSIEKSYELPDGQVITIGNERFRAPEALFHPSVLGLESAGIDQTTYNSIMKCDVDVRKELYGNIVMSGGTTMFPGIAERMQKEITALAPSSMKVKIIAPPERKYSVWIGGSILASLTTFQQMWISKQEYDESGPSIVHHKCF",
"items": []
},
"WB": {

},
"RGD": {

},
"ZFIN": {

},
"MGI": {

},
"FB": {

"fungal": {
"url": "https://blast.alliancegenome.org/blast/SGD/fungal",
"nucl": "ATGGATTCTGGTATGTTCTAGCGCTTGCACCATCCCATTTAACTGTAAGAAGAATTGCACGGTCCCAATTGCTCGAGAGATTTCTCTTTTACCTTTTTTTACTATTTTTCACTCTCCCATAACCTCCTATATTGACTGATCTGTAATAACCACGATATTATTGGAATAAATAGGGGCTTGAAATTTGGAAAAAAAAAAAAAACTGAAATATTTTCGTGATAAGTGATAGTGATATTCTTCTTTTATTTGCTACTGTTACTAAGTCTCATGTACTAACATCGATTGCTTCATTCTTTTTGTTGCTATATTATATGTTTAGAGGTTGCTGCTTTGGTTATTGATAACGGTTCTGGTATGTGTAAAGCCGGTTTTGCCGGTGACGACGCTCCTCGTGCTGTCTTCCCATCTATCGTCGGTAGACCAAGACACCAAGGTATCATGGTCGGTATGGGTCAAAAAGACTCCTACGTTGGTGATGAAGCTCAATCCAAGAGAGGTATCTTGACTTTACGTTACCCAATTGAACACGGTATTGTCACCAACTGGGACGATATGGAAAAGATCTGGCATCATACCTTCTACAACGAATTGAGAGTTGCCCCAGAAGAACACCCTGTTCTTTTGACTGAAGCTCCAATGAACCCTAAATCAAACAGAGAAAG",
"prot": "MDSEVAALVIDNGSGMCKAGFAGDDAPRAVFPSIVGRPRHQGIMVGMGQKDSYVGDEAQSKRGILTLRYPIEHGIVTNWDDMEKIWHHTFYNELRVAPEEHPVLLTEAPMNPKSNREKMTQIMFETFNVPAFYVSIQAVLSLYSSGRTTGIVLDSGDGVTHVVPIYAGFSLPHAILRIDLAGRDLTDYLMKILSERGYSFSTTAEREIVRDIKEKLCYVALDFEQEMQTAAQSSSIEKSYELPDGQVITIGNERFRAPEALFHPSVLGLESAGIDQTTYNSIMKCDVDVRKELYGNIVMSGGTTMFPGIAERMQKEITALAPSSMKVKIIAPPERKYSVWIGGSILASLTTFQQMWISKQEYDESGPSIVHHKCF",
"items": [
"Akanthomyces_anchor",
"Ascochyta_anchor",
"Aspergillus_anchor",
"Botrytis_anchor",
"Brettanomyces_anchor",
"Candida_anchor",
"Cercospora_anchor",
"Colletotrichum_anchor",
"Cryptococcus_anchor",
"Cutaneotrichosporon_anchor",
"Debaryomyces_anchor",
"Drechmeria_anchor",
"Encephalitozoon_anchor",
"Eremothecium_anchor",
"Fulvia_anchor",
"Fusarium_anchor",
"Kazachstania_anchor",
"Kluyveromyces_anchor",
"Komagataella_anchor",
"Kwoniella_anchor",
"Lachancea_anchor",
"Lodderomyces_anchor",
"Malassezia_anchor",
"Marasmius_anchor",
"Nakaseomyces_anchor",
"Naumovozyma_anchor",
"Neurospora_anchor",
"Ogataea_anchor",
"Penicillium_anchor",
"Pichia_anchor",
"Pochonia_anchor",
"Podospora_anchor",
"Psilocybe_anchor",
"Puccinia_anchor",
"Purpureocillium_anchor",
"Pyricularia_anchor",
"Rhizoctonia_anchor",
"Saccharomyces_anchor",
"Saccharomycodes_anchor",
"Scheffersomyces_anchor",
"Schizosaccharomyces_anchor",
"Sporisorium_anchor",
"Sugiyamaella_anchor",
"Talaromyces_anchor",
"Tetrapisispora_anchor",
"Thermothelomyces_anchor",
"Thermothielavioides_anchor",
"Torulaspora_anchor",
"Trichoderma_anchor",
"Ustilaginoidea_anchor",
"Ustilago_anchor",
"Vanrija_anchor",
"Yarrowia_anchor",
"Zygosaccharomyces_anchor",
"Zygotorulaspora_anchor",
"Zymoseptoria_anchor"
]
}

}
},
"FB": {
"FB2024_02": {
"url": "https://blast.alliancegenome.org/blast/FB/",
"nucl": "AGTTTGGTTTCGTACTTGGCTCATTGCGCTCGTGCAGCTCGATATCCCAATCCCCGAGAGCTAGATGCTCCACTCTGCTGCTCGAAGGAAGCGACTCGGCTGATTGGATACATAATTCTCAGGAGTGTCAGATAGTTGCAAGCGACCATGCGCGCATGGCTTCTACTCCTCGCAGTGCTGGCGACTTTTCAAACGATTGTTCGAGTTGCTAGCACCGAGGATATATCCCAGAGATTCATCGCCGCCATAGCGCCCGTTGCCGCTCATATTCCGCTGGCATCAGCATCAGGATCAGGATCAGGACGATCTGGATCTAGATCGGTAGGAGCCTCGACCAGCACAGCATTAGCAAAAGCATTTAATCCATTCAGCGAGCCCGCCTCGTTCAGTGATAGTGATAAAAGCCATCGGAGTAAAACAAACAAAAAACCTAGCAAAAGTGACGCGAACCGACAGTTCAACGAAGTGCATAAGCCAAGAACAGACCAATTAGAAAATTCCAAAAATAAGTCTAAACAATTAGTTAATAAACCCAACCACAACAAAATGGCTGTCAAGGAGCAGAGGAGCCACCACAAGAAGAGCCACCACCATCGCAGCCACCAGCCAAAGCAGGCCAGTGCATCCACAGAATCTCATCAATCCTCGTCGATTGAATCAATCTTCGTGGAGGAGCCGACGCTGGTGCTCGACCGCGAGGTGGCCTCCATCAACGTGCCCGCCAACGCCAAGGCCATCATCGCCGAGCAGGGCCCGTCCACCTACAGCAAGGAGGCGCTCATCAAGGACAAGCTGAAGCCAGACCCCTCCACTCTAGTCGAGATCGAGAAGAGCCTGCTCTCGCTGTTCAACATGAAGCGGCCGCCCAAGATCGACCGCTCCAAGATCATCATCCCCGAGCCGATGAAGAAGCTCTACGCCGAGATCATGGGCCACGAGCTCGACTCGGTCAACATCCCCAAGCCGGGTCTGCTGACCAAGTCGGCCAACACAGTGCGAAGTTTTACACACAAAGATAGTAAAATCGACGATCGATTTCCGCACCACCACCGGTTTCGGCTGCACTTCGACGTGAAGAGCATTCCCGCCGACGAGAAGCTGAAGGCGGCGGAGCTGCAGCTGACCCGGGACGCACTCAGTCAACAGGTGGTGGCCAGCAGATCGTCGGCGAATCGGACGCGCTACCAGGTGCTTGTCTACGACATCACGCGCGTCGGGGTGCGTGGTCAGCGGGAGCCGAGCTATCTGCTGTTGGACACCAAGACGGTCCGGCTTAACAGCACGGACACGGTGAGCCTCGATGTCCAGCCGGCCGTGGACCGGTGGCTGGCGAGTCCGCAGCGCAACTACGGACTGCTGGTGGAGGTGCGGACGGTCCGCTCCCTGAAGCCGGCCCCACACCACCATGTACGCCTGCGCCGCAGCGCGGACGAGGCGCACGAGCGGTGGCAGCACAAGCAGCCGCTCCTGTTCACCTACACGGACGACGGGCGGCACAAGGCGCGCTCCATTCGGGACGTGTCTGGCGGAGAGGGCGGTGGCAAGGGCGGCCGGAACAAGCGGCAGCCGAGACGGCCTACGAGGCGCAAGAACCACGACGACACCTGCCGGCGGCACTCGCTGTACGTGGACTTCTCGGACGTGGGCTGGGACGACTGGATTGTGGCGCCTCTGGGCTACGATGCATATTACTGCCACGGGAAGTGCCCCTTCCCGCTGGCCGACCACTTTAACTCGACCAATCACGCCGTGGTGCAGACCCTGGTCAACAATATGAATCCCGGCAAGGTGCCGAAGGCGTGCTGCGTGCCCACGCAACTGGACAGCGTGGCCATGCTCTATCTCAACGACCAAAGTACGGTGGTGCTGAAGAACTACCAGGAGATGACCGTGGTGGGCTGTGGCTGTCGATAGATTCGCACCACCATCGCACCATACCACGCCATCCACTCAACCGAGTGAATGCGATGGGAAATCGCGAGCGAGAGAGCATCAAATGCTGTTTGGTTCCAAGCCGTCAATGCTTTAAACACAACGCAAACAAAATGGACTGAATATTTGAATTTTAAGTGTAAATCGTTAGACTTTAGCCGTATCGAGTAACGAGCAAACAGGCGGCAGCCACGCCCACATCCACGTCCCCACCAAAACCGCCCGCCTTGGAGCCTCTGTCGATTTCCCCAGCCAGGCTGGCGAAAAATCCCAGATCAGAGTGCAGATTTGAGAGCGCAGAGTCCACTGTATATAGCCGCCATGCCACGCCCCCAACACAGATAGTCCCCGCCCATCCGCCAGATACTTCAGATATTAGATACTTTCGTATCTGTGTGCGCTGCTGCTGCTGAAGGAGAAGTTAAGGGAGGAAAAGAGGAGTATGCTTAGGAGTAAGAGCGACCAATTGAACAAATTGTATAGAAATGCTAATATATATTAAAAAACCCTATCGATGCGAACTGGTATCTTTGTATACATTTGTACATGTATGTGGAAAGGAGACCTATTCTACTAGCCGTTTTTGTTAATAATTTTATAAAGCAATAGCAAACCACTTGTAAATTAACTAGCGAGAGCATAACCGAATAATGACTTGAAATTACTTAGGAACTATCATCCTAAACACATAGTTGTAGAAAGACCAGAAAAACAAACAGATATTGCATATGTAACTCTCTTGTATATGTACTAAACACCTATATACTTTATATGCGGTACACACTCACTCACCCCCATTAGCAAACACACAACCACACACACATATCGACGAAAGGGTATTCAAACTTCGTTGCGCATTCAACTAAACGTAACTGTATAAACAAAACGAATGCCCTATAAATATATGAATAACTATCTACATCGTTATGCGTTCTAAGCTAAGCTCGAATAAATCCGTAAACGTTAATTAATCTAGAATCGTAAGACCTAACGCGTAAGCTCAGCATGTTGGATAAATTAATAGAAACGAGAGAAAAGAGAAAAAACCCCACAAAAAGAAAACCCGATAAATGGAAAATATCGATTCGTGCCTGATGTTGCAGCGCACGTCTCGTATATGCAGTTTGTCATATAAACATTATTATTTTATTTATTTAAAACAACCCGTATTTTTGAGGACGACGACGATGATGCAGGAGCAAGGATGAAAAGAAAGATGAAAAATATAAAAGAAAACAATTTATT",
"prot": "MAGIFRSTSLNHSSDVPGTPFKRYSLNSNNSTFCTSPGALQDVTMENSYASFDVPRPPGGGNSPLPSQGRSVRELEEQMSALRKENFNLKLRIYFLEEGQPGARADSSTESLSKQLIDAKIEIATLRKTVDVKMELLKDAARAISHHEELQRKADIDSQAIIDELQEQIHAYQMAESGGQPVENIAKTRKMLRLESEVQRLEEELVNIEARNVAARNELEFMLAERLESLTACEGKIQELAIKNSELVERLEKETASAESSNANRDLGAQLADKICELQEAQEKLKERERIHEQACRTIQKLMQKLSSQEKEIKKLNQENEQSANKENDCAKTVISPSSSGRSMSDNEASSQEMSTNLRVRYELKINEQEEKIKQLQTEVKKKTANLQNLVNKELWEKNREVERLTKLLANQQKTLPQISEESAGEADLQQSFTEAEYMRALERNKLLQRKVDVLFQRLADDQQNSAVIGQLRLELQQARTEVETADKWRLECVDVCSVLTNRLEELAGFLNSLLKHKDVLGVLAADRRNAMRKAVDRSLDLSKSLNMTLNITATSLADQSLAQLCNLSEILYTEGDASHKTFNSHEELHAATSMAPTVENLKAENKALKKELEKRRSSEGQRKERRSLPLPSQQFDNQSESEAWSEPDRKVSLARIGLDETSNSLAAPEQAISESESEGRTCATRQDRNRNSERIAQLEEQIAQKDERMLNVQCQMVELDNRYKQEQLRCLDITQQLEQLRAINEALTADLHAIGSHEEERMVELQRQLELKNQQIDQLKLAHSTLTADSQITEMELQALQQQMQEIEQLHADSVETLQSQLQKLKLDAVQQLEEHERLHREALERDWVALTTYQEQAQQLLELQRSLDYHQENEKELKQTLVENELATRALKKQLDESTLQASKAVMERTKAYNDKLQLEKRSEELRLQLEALKEEHQKLLQKRSNSSDVSQSGYTSEEVAVPMGPPSGQATTCKQAAAAVLGQRVNTSSPDLGIESDAGRISSVEVSNAQRAMLKTVEMKTEGSASPKAKSEESTSPDSKSNVATGAATVHDCAKVDLENAELRRKLIRTKRAFEDTYEKLRMANKAKAQVEKDIKNQILKTHNVLRNVRSNMENEL",
"items": [
"Acromyrmex_anchor",
"Acyrthosiphon_anchor",
"Aedes_anchor",
"Anopheles_anchor",
"Apis_anchor",
"Atta_anchor",
"Bombus_anchor",
"Bombyx_anchor",
"Camponotus_anchor",
"Culex_anchor",
"Danaus_anchor",
"Drosophila_anchor",
"Harpegnathos_anchor",
"Ixodes_anchor",
"Linepithema_anchor",
"Megachile_anchor",
"Musca_anchor",
"Nasonia_anchor",
"Pogonomyrmex_anchor",
"Rhipicephalus_anchor",
"Solenopsis_anchor",
"Tribolium_anchor"
]
}
}
}
19 changes: 9 additions & 10 deletions tests/UI/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@


def run_test(mod, items, type, sequence):

# Locate and click the checkbox
# Locate and click the checkbox
for item in items:
# Set up the browser (replace "chrome" with "firefox" for Firefox)
Expand All @@ -34,7 +36,10 @@ def run_test(mod, items, type, sequence):
input_box.send_keys(sequence)
console.log(f"Sent sequence")

element = browser.find_element(By.ID, "method")
# Locate the element right before interacting with it
element = WebDriverWait(browser, 10).until(
EC.element_to_be_clickable((By.ID, "method"))
)
element.click()
console.log("Clicked button")

Expand All @@ -45,25 +50,19 @@ def run_test(mod, items, type, sequence):
next_page_element = WebDriverWait(browser, 600).until(
EC.presence_of_element_located((By.ID, "view"))
)
browser.save_screenshot(f"{item}.png")
for _ in tqdm(range(15)): # Pauses the script for 10 seconds
browser.save_screenshot(f"output/{mod}/{item}.png")
for _ in tqdm(range(5)): # Pauses the script for 10 seconds
time.sleep(1)
except Exception as e:
console.log(e)

browser.quit()


@click.command()
@click.option("-m", "--mod", help="The MOD to test")
@click.option("-t", "--type", help="The DB type to test, i.e. fungal for SGD")
@click.option("-s", "--single_item", help="How many items to test", default=1)
@click.option(
"-M",
"--molecule",
help="The molecule to test, nucl or prot only, default nucl",
default="nucl",
)
@click.option("-M", "--molecule", help="The molecule to test, nucl or prot only, default nucl", default="nucl")
@click.option(
"-n",
"--number_of_items",
Expand Down

0 comments on commit 12f9f1a

Please sign in to comment.