Janitor issues

* Remove obsolete code
* Fix path modification of a relative folder
Replace start token '.' with file path to the project file to make sure that the path './wells/a-1h.dev' can be imported correctly.
* Add more logging when keywords are missing from import
This commit is contained in:
Magne Sjaastad
2023-02-15 07:56:17 +01:00
committed by GitHub
parent af7fe8f00e
commit 70bb221162
16 changed files with 29 additions and 117 deletions

View File

@@ -277,17 +277,7 @@ void RimFractureTemplateCollection::loadAndUpdateData()
{
stimPlanFracture->loadDataAndUpdate();
}
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimFractureTemplateCollection::updateFilePathsFromProjectPath( const QString& newProjectPath,
const QString& oldProjectPath )
{
for ( RimFractureTemplate* f : m_fractureDefinitions() )
{
RimEllipseFractureTemplate* ellipseFracture = dynamic_cast<RimEllipseFractureTemplate*>( f );
if ( ellipseFracture )
{

View File

@@ -60,8 +60,6 @@ public:
void createAndAssignTemplateCopyForNonMatchingUnit();
void loadAndUpdateData();
void updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath );
void onChildDeleted( caf::PdmChildArrayFieldHandle* childArray,
std::vector<caf::PdmObjectHandle*>& referringObjects ) override;