Test update: need to tweak output to make Anders' spectrum file work and note TODOs for 2.1.0

Tue, 07 May 2013 22:59:21 +0200

author
Andy Buckley <andy@insectnation.org>
date
Tue, 07 May 2013 22:59:21 +0200
changeset 225
e90d19a970b5
parent 224
ae148391c467
child 226
6836c7b4056c

Test update: need to tweak output to make Anders' spectrum file work and note TODOs for 2.1.0

pyslha.py file | annotate | diff | comparison | revisions
test file | annotate | diff | comparison | revisions
     1.1 --- a/pyslha.py	Tue May 07 22:53:16 2013 +0200
     1.2 +++ b/pyslha.py	Tue May 07 22:59:21 2013 +0200
     1.3 @@ -35,6 +35,10 @@
     1.4  
     1.5  TODOs:
     1.6  
     1.7 +  For 2.1.0:
     1.8 +   * Fix output writing for Anders' multi-value file.
     1.9 +   * Add Sphinx docs.
    1.10 +
    1.11    For 2.2.0:
    1.12     * Preserve comments from read -> write (needs full-line/inline comment
    1.13       separation). Can use separate comment dicts in Block and Decay, and
    1.14 @@ -46,7 +50,7 @@
    1.15  """
    1.16  
    1.17  __author__ = "Andy Buckley <andy.buckley@cern.ch>"
    1.18 -__version__ = "2.1.0"
    1.19 +__version__ = "2.1.0a"
    1.20  
    1.21  
    1.22  
     2.1 --- a/test	Tue May 07 22:53:16 2013 +0200
     2.2 +++ b/test	Tue May 07 22:59:21 2013 +0200
     2.3 @@ -2,7 +2,13 @@
     2.4  
     2.5  FORMAT=pdf
     2.6  #FORMAT=pdf,eps,ps,png,jpg
     2.7 +if [[ -n "$1" ]]; then FORMAT=$1; fi
     2.8  
     2.9 -if [[ -n "$1" ]]; then FORMAT=$1; fi
    2.10 -python pyslha.py spcfiles/sps1a.spc || exit 1
    2.11 -slhaplot -f $FORMAT spcfiles/* --br=0.1
    2.12 +for i in spcfiles/*; do
    2.13 +    echo "************ $i **************"
    2.14 +    echo
    2.15 +    python pyslha.py $i || exit 1
    2.16 +done
    2.17 +
    2.18 +mkdir .test && cd .test
    2.19 +slhaplot -f $FORMAT $i --br=0.1 ../spcfiles/*

mercurial