Skip to content

Commit

Permalink
Merge pull request #3837 from vgteam/deconstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey authored Feb 3, 2023
2 parents 505b36e + 74f56df commit b0a9c34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/constructor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2243,7 +2243,10 @@ namespace vg {

// Decide what FASTA contig that is and make sure we have it
string fasta_contig = vcf_to_fasta(vcf_contig);
assert(reference_for.count(fasta_contig));
if (!reference_for.count(fasta_contig)) {
cerr << "[vg::Constructor] Error: Reference contig \"" << vcf_contig << "\" in VCF not found in FASTA." << endl;
exit(1);
}
auto* reference = reference_for[fasta_contig];

// Construct on it with the appropriate FastaReference for that contig
Expand Down

1 comment on commit b0a9c34

@adamnovak
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for merge to master. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 9855 seconds

Please sign in to comment.