Mercurial > hg > svapp
comparison framework/SVFileReader.cpp @ 665:e19c609a7bec
Update so Document owns the alignment model's input aggregate model
author | Chris Cannam |
---|---|
date | Thu, 04 Apr 2019 16:17:11 +0100 |
parents | e2715204feaa |
children | 21673429dba5 |
comparison
equal
deleted
inserted
replaced
644:6fd0ebfd2bbe | 665:e19c609a7bec |
---|---|
786 << endl; | 786 << endl; |
787 } | 787 } |
788 | 788 |
789 if (refModel && alignedModel && pathModel) { | 789 if (refModel && alignedModel && pathModel) { |
790 AlignmentModel *model = new AlignmentModel | 790 AlignmentModel *model = new AlignmentModel |
791 (refModel, alignedModel, nullptr, nullptr); | 791 (refModel, alignedModel, nullptr); |
792 PathModel *pm = dynamic_cast<PathModel *>(pathModel); | 792 PathModel *pm = dynamic_cast<PathModel *>(pathModel); |
793 if (!pm) { | 793 if (!pm) { |
794 SVCERR << "WARNING: SV-XML: Model id " << path | 794 SVCERR << "WARNING: SV-XML: Model id " << path |
795 << " referenced as path for alignment " << id | 795 << " referenced as path for alignment " << id |
796 << " is not a path model" << endl; | 796 << " is not a path model" << endl; |