Skip to content

Commit

Permalink
bug fix fasta file creation (#55)
Browse files Browse the repository at this point in the history
Fix issue where it requires fasta file for non-fasta submission
  • Loading branch information
dthoward96 authored Apr 18, 2024
1 parent ec6fc19 commit 9361e90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seqsender.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def start(command, database, organism, submission_dir, submission_name, config_f
config_dict = process.get_config(config_file=config_file, database=database)
# Check metadata file
metadata = process.get_metadata(database=database, organism=organism, metadata_file=metadata_file)
metadata = process.process_fasta_samples(metadata = metadata, fasta_file = fasta_file)
if fasta_file is not None:
metadata = process.process_fasta_samples(metadata = metadata, fasta_file = fasta_file)
# Create identifier for each database to store submitting samples in submission status worksheet
identifier_columns = dict()
# Prepping submission files for each given database
Expand Down

0 comments on commit 9361e90

Please sign in to comment.