Skip to content

Commit

Permalink
Update external_resources.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Nov 12, 2024
1 parent 289eb9d commit 32ff6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/sequencing_experiment/external_resources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def external_sra_to_biosample!
self.biosample_accession_2 =
sample_id.xpath('PRIMARY_ID').first.try(:text)
else
self.biosample_accession =
self.biosample_accession =
sample_id.xpath('PRIMARY_ID').first.try(:text)
self.biosample_accession = nil
self.biosample_accession_2 = nil
end
else
# Unknown XML specification
Expand Down

0 comments on commit 32ff6b2

Please sign in to comment.