Skip to content

Commit

Permalink
uncomment update in db
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Sep 18, 2023
1 parent 186b451 commit 3b39919
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update_sc_name/update_scientific_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ def main():
argparser.add_argument("--ref-seq-dir", help="path to reference seq directory", required=True)
args = argparser.parse_args()

# update directory name in reference sequence directory
old_sc_name = get_scientific_name_from_eva(args.taxonomy, args.private_config_xml_file, args.profile)
update_path_reference_sequence(args.taxonomy, old_sc_name, args.ref_seq_dir, args.scientific_name)

# update_scientific_name_in_eva_db(args.private_config_xml_file, args.profile, args.taxonomy, args.scientific_name)
# update scientific name in evapro db
update_scientific_name_in_eva_db(args.private_config_xml_file, args.profile, args.taxonomy, args.scientific_name)

# check if everything is successfully updated
qc_updates(args.private_config_xml_file, args.profile, args.taxonomy, args.scientific_name, args.ref_seq_dir)


Expand Down

0 comments on commit 3b39919

Please sign in to comment.