Skip to content
Snippets Groups Projects
Commit e1d81753 authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

fix jbrowse_links separator

parent 0c8eb029
No related branches found
No related tags found
2 merge requests!23Add jbrowse_links,!18Release v2.1.0
...@@ -194,10 +194,11 @@ def get_sp_jbrowse_links(org_list): ...@@ -194,10 +194,11 @@ def get_sp_jbrowse_links(org_list):
for org in org_list: for org in org_list:
gspecies = org.genus_species gspecies = org.genus_species
if gspecies not in jbrowse_links_dict.keys():
jbrowse_links_dict[gspecies] = ""
if org.contig_prefix != "": if org.contig_prefix != "":
jbrowse_links_dict[gspecies] = jbrowse_links_dict[gspecies] + ";" + org.contig_prefix + ">" + org.species_folder_name if gspecies not in jbrowse_links_dict.keys():
jbrowse_links_dict[gspecies] = org.contig_prefix + ">" + org.species_folder_name
else:
jbrowse_links_dict[gspecies] = jbrowse_links_dict[gspecies] + ";" + org.contig_prefix + ">" + org.species_folder_name
return jbrowse_links_dict return jbrowse_links_dict
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment