[cctbxbb] command line syntax for multiple scope PHIL

R.D. Oeffner rdo20 at cam.ac.uk
Wed Nov 9 06:46:31 PST 2016


Say a program, myprog, has a master PHIL definition like:

   minimization.input
       .multiple = True
   {
     file_name = None
       .type = str
     nval = None
       .type = int
   }

and a PHIL input file like:

   minimization.input {
     file_name = experiment1.dat
     nval = 42
   }
   minimization.input {
     file_name = experiment2.dat
     nval = 13
   }


so that the user on the command line can type
    "myprog phil_input.txt"

What would be the equivalent command line syntax of the PHIL input 
above?



Rob



-- 
Robert Oeffner, Ph.D.
Research Associate, The Read Group
Department of Haematology,
Cambridge Institute for Medical Research
University of Cambridge
Cambridge Biomedical Campus
Wellcome Trust/MRC Building
Hills Road
Cambridge CB2 0XY

www.cimr.cam.ac.uk/investigators/read/index.html
tel: +44(0)1223 763234
mobile: +44(0)7712 887162


More information about the cctbxbb mailing list