[Clas_offline] CCDB 1.04 tag

Dmitry Romanov romanov at jlab.org
Tue Jan 27 05:08:57 EST 2015


Hi!
CCDB 1.04 tag has been placed to svn repository
https://phys12svn.jlab.org/repos/tags/ccdb_1.04

It brings small improvement of ls and vers commands. Now the commands list all available data variants by default. (Before data has been filtred by current run and variation set for CCDB)

The changes were made for the python part only. So NO recompiling (or anything) is required for C++ or JAVA.

Example:
1. Without flags vers shows everything

ccdb vers /test/test_vars/test_table
(ID)   ...     (variation)     (run range)   
6      ...     default         200-421       
5      ...     subtest         0-inf         
4      ...     default         0-inf         
2      ...     test            500-3000      
1      ...     default         0-inf         


2. With -r 600, vers shows only data suitable for run 600

ccdb vers /test/test_vars/test_table -r 600
For run: 600
(ID)   ...     (variation)     (run range)    
 5     ...     subtest         0-inf          
 4     ...     default         0-inf          
 2     ...     test            500-3000      
 1     ...     default         0-inf         


3. With -v test, vers shows only data of test variation

ccdb vers /test/test_vars/test_table -v test
For variation: test
(ID)   ...    (variation)     (run range)      
 2     ...     test            500-3000

Note(!) -v and -r flags can be used together. 
Note(!2) ls command is a user handy shortcut, it just shows all the data. Use vers command for filtering


Dmitry


More information about the Clas_offline mailing list