X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOGimmick.cpp;h=738256c0f477a27e5b864d5083c80e01212e37b2;hb=6685b940296e57d4e3803765b986a6fe18d9be41;hp=f5d21100df39391a3be34cd7251915189e6cc4d2;hpb=e13ea6551e8721b11998dc33ddccf3f89458f173;p=creaImageIO.git diff --git a/src2/creaImageIOGimmick.cpp b/src2/creaImageIOGimmick.cpp index f5d2110..738256c 100644 --- a/src2/creaImageIOGimmick.cpp +++ b/src2/creaImageIOGimmick.cpp @@ -60,7 +60,7 @@ namespace creaImageIO std::string dbpath = GetLocalDatabasePath(); // Create or open local database - std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/localdatabase_Descriptor.txt"; + std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/localdatabase_Descriptor.dscp"; boost::algorithm::replace_all( dpath, INVALID_FILE_SEPARATOR , VALID_FILE_SEPARATOR); @@ -91,7 +91,6 @@ namespace creaImageIO } } - /////////////////////////////////////////////////////////////////////////// // create a DB from a attributes descriptor file for medical images // // @param i_name : DB name // @@ -225,7 +224,7 @@ namespace creaImageIO boost::filesystem::create_directory( setDir ); setDir+="gimmick/"; boost::filesystem::create_directory( setDir ); - setDir+="localdatabase_Descriptor.txt"; + setDir+="localdatabase_Descriptor.dscp"; if(!boost::filesystem::is_regular(setDir)) { @@ -238,7 +237,7 @@ namespace creaImageIO path=path.substr(0,path.size()-1); path=path.substr(0,path.find_last_of("/")); //Creating directories - path+="/bin/Shared/gimmick/localdatabase_Descriptor.txt"; + path+="/bin/Shared/gimmick/localdatabase_Descriptor.dscp"; std::cout<<"From: "<