Skip to content
Snippets Groups Projects
Commit b847f1ed authored by Ivan Medeiros Monteiro's avatar Ivan Medeiros Monteiro
Browse files

chore: postpone index loading to construct a lightweight session

parent bb018b3e
No related branches found
No related tags found
No related merge requests found
Pipeline #192073 failed
......@@ -105,9 +105,6 @@ SegySessionImpl::SegySessionImpl(const std::shared_ptr<segyformat::external::Seg
fileio::FileReaderOptions const readerOptions(sdCredentials_, cacheSize_, legalTag);
segyIndex_ = segysdk::api::SegyIndexFactory().CreateSegyIndex(segyFilesVector_, context_->getSegyFileNames(), readerOptions);
if (segyIndex_ != nullptr && segyIndex_->hasIndexFile()) {
segyIndex_->Load();
}
}
isSegy3D_ = hasSegy3DFieldsDefined();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment