Skip to content

Commit

Permalink
Fix: Batch#build_sample doesn't copy some attributes (#1973)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden authored Jul 20, 2023
1 parent b3f1f91 commit 3f4995b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/batch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ def build_sample(**attributes)
isolate_name: isolate_name,
inactivation_method: inactivation_method,
virus_lineage: virus_lineage,
reference_gene: reference_gene,
target_organism_taxonomy_id: target_organism_taxonomy_id,
pango_lineage: pango_lineage,
who_label: who_label,
**attributes
)
end
Expand Down

0 comments on commit 3f4995b

Please sign in to comment.