comparison framework/SVFileReader.cpp @ 664:06db8f3ceb95 single-point

Update so Document owns the alignment model's input aggregate model, just as any other model
author Chris Cannam
date Thu, 04 Apr 2019 11:16:29 +0100
parents ffd213b292f9
children 21673429dba5
comparison
equal deleted inserted replaced
663:351b1302064e 664:06db8f3ceb95
790 << endl; 790 << endl;
791 } 791 }
792 792
793 if (refModel && alignedModel && pathModel) { 793 if (refModel && alignedModel && pathModel) {
794 AlignmentModel *model = new AlignmentModel 794 AlignmentModel *model = new AlignmentModel
795 (refModel, alignedModel, nullptr, nullptr); 795 (refModel, alignedModel, nullptr);
796 PathModel *pm = dynamic_cast<PathModel *>(pathModel); 796 PathModel *pm = dynamic_cast<PathModel *>(pathModel);
797 if (!pm) { 797 if (!pm) {
798 SVCERR << "WARNING: SV-XML: Model id " << path 798 SVCERR << "WARNING: SV-XML: Model id " << path
799 << " referenced as path for alignment " << id 799 << " referenced as path for alignment " << id
800 << " is not a path model" << endl; 800 << " is not a path model" << endl;