From 96b787337666fae029a0d7a2e09520ca193c4a02 Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Sun, 8 Sep 2024 14:22:06 +0200 Subject: [PATCH] update --- .aux/test_with_lcg | 2 +- ostap/io/compress_shelve.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.aux/test_with_lcg b/.aux/test_with_lcg index 3512de1d..a801ce0b 100755 --- a/.aux/test_with_lcg +++ b/.aux/test_with_lcg @@ -4,4 +4,4 @@ CMTCONFIG=$2 source /cvmfs/sft.cern.ch/lcg/views/${LCG}/${CMTCONFIG}/setup.sh source build/INSTALL/thisostap.sh cd build -ctest -N && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && ctest -j4 -R --output-on-failure --test-output-size-failed=5000000 +ctest -N && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && ctest -j4 -R _io_ '--output-on-failure --test-output-size-failed=5000000 diff --git a/ostap/io/compress_shelve.py b/ostap/io/compress_shelve.py index 21234935..2df3316c 100755 --- a/ostap/io/compress_shelve.py +++ b/ostap/io/compress_shelve.py @@ -235,7 +235,7 @@ def __init__( # ===================================================================== the_path = lambda s : os.path.normpath ( os.path.abspath ( s ) ) ## all files before dbopen - ofiles = set ( [ the_path ( i ) for i in glob.iglob ( self.dbname + '*' ) ] ) + ofiles = set ( [ the_path ( i ) for i in glob.iglob ( self.dbname + '*' ) ] ) ofiles |= set ( [ the_path ( i ) for i in glob.iglob ( self.dbname + '/*' ) ] ) self.__ofiles = tuple ( sorted ( ofiles ) ) @@ -275,7 +275,7 @@ def __init__( efiles = set ( the_path ( f ) for f in dbfiles ( self.dbtype , self.dbname ) ) if ( ofiles | efiles ) != pfiles : - logger.warning ( 'Some missing or unexpected files' ) + logger.warning ( 'Some missing or unexpected files [%s]' % self.dbtype ) files1 = pfiles & efiles ## expected and found files2 = efiles - pfiles ## expected but not found