Final tweaks and all tests passing... ready for 2.1.0 pyslha-2.1.0

Wed, 08 May 2013 15:42:01 +0200

author
Andy Buckley <andy@insectnation.org>
date
Wed, 08 May 2013 15:42:01 +0200
changeset 229
6a98d8cfab70
parent 228
8edc70fac3f8
child 230
44f1d15614c8

Final tweaks and all tests passing... ready for 2.1.0

ChangeLog file | annotate | diff | comparison | revisions
pyslha.py file | annotate | diff | comparison | revisions
spcfiles/susy_RPV_stau_BC1scan_m560_tanb05.in file | annotate | diff | comparison | revisions
test file | annotate | diff | comparison | revisions
     1.1 --- a/ChangeLog	Wed May 08 15:35:39 2013 +0200
     1.2 +++ b/ChangeLog	Wed May 08 15:42:01 2013 +0200
     1.3 @@ -1,5 +1,7 @@
     1.4  2013-05-07  Andy Buckley  <andy.buckley@cern.ch>
     1.5  
     1.6 +	* Version 2.1.0
     1.7 +
     1.8  	* Adding multi-value support and refactoring Block value setting.
     1.9  
    1.10  2013-04-29  Andy Buckley  <andy.buckley@cern.ch>
     2.1 --- a/pyslha.py	Wed May 08 15:35:39 2013 +0200
     2.2 +++ b/pyslha.py	Wed May 08 15:42:01 2013 +0200
     2.3 @@ -35,11 +35,8 @@
     2.4  
     2.5  TODOs:
     2.6  
     2.7 -  For 2.1.0:
     2.8 -   * Fix output writing for Anders' multi-value file.
     2.9 +  For 2.2.0:
    2.10     * Add Sphinx docs.
    2.11 -
    2.12 -  For 2.2.0:
    2.13     * Preserve comments from read -> write (needs full-line/inline comment
    2.14       separation). Can use separate comment dicts in Block and Decay, and
    2.15       attach a multiline .comment attr to the returned/written dicts.
    2.16 @@ -50,7 +47,7 @@
    2.17  """
    2.18  
    2.19  __author__ = "Andy Buckley <andy.buckley@cern.ch>"
    2.20 -__version__ = "2.1.0a"
    2.21 +__version__ = "2.1.0"
    2.22  
    2.23  
    2.24  
     3.1 --- a/spcfiles/susy_RPV_stau_BC1scan_m560_tanb05.in	Wed May 08 15:35:39 2013 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,16 +0,0 @@
     3.4 -'susy_RPV_stau_BC1scan_m560_tanb05.out'
     3.5 -173.3
     3.6 -1273.78,713.286,804.721,4.82337
     3.7 -1163.14,1114.15,1118.99,374.664,209.593
     3.8 -1069.54,1112.7,919.908,374.556,209.381,-972.817,-326.745,-406.494
     3.9 -1163.14,1114.15,1118.99,374.712,210.328
    3.10 -232.615,445.477
    3.11 -/
    3.12 -n
    3.13 -y
    3.14 -y
    3.15 -0.047441 3.80202e-23 0 0 0 2.17356e-22 0 0 5.23773e-09
    3.16 -y
    3.17 -3.35297e-25 0 0 0 7.34125e-24 0 0 0 3.17951e-22 8.07984e-12 0 0 0 1.76906e-10 0 0 0 7.66184e-09 0 0 0 0 0 0 0 0 0 
    3.18 -n
    3.19 -'susy_RPV_stau_BC1scan_m560_tanb05.txt'
     4.1 --- a/test	Wed May 08 15:35:39 2013 +0200
     4.2 +++ b/test	Wed May 08 15:42:01 2013 +0200
     4.3 @@ -1,12 +1,14 @@
     4.4  #! /usr/bin/env bash
     4.5  
     4.6 -FORMAT=pdf #,eps,ps,png,jpg,tex
     4.7 +FORMAT=pdf,png,eps,tex
     4.8  if [[ -n "$1" ]]; then FORMAT=$1; fi
     4.9  
    4.10 -# (mkdir .test && cd .test && slhaplot -f $FORMAT $i --br=0.1 ../spcfiles/*)
    4.11 +mkdir -p .test && cd .test
    4.12  
    4.13 -for i in spcfiles/*; do
    4.14 +for i in ../spcfiles/*; do
    4.15      echo "************ $i **************"
    4.16      echo
    4.17 -    python pyslha.py $i || exit 1
    4.18 +    python ../pyslha.py $i || exit 1
    4.19  done
    4.20 +
    4.21 +slhaplot -f $FORMAT $i --br=0.1 ../spcfiles/* || exit 1

mercurial