Skip to content

Commit

Permalink
Merge pull request #2449 from lviliani/fixExtramodelLoad
Browse files Browse the repository at this point in the history
Fix issue when loading extramodel datacards with no EOL
  • Loading branch information
qliphy committed Oct 21, 2019
2 parents 70bf548 + d9d802c commit ebeba3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/MadGraph5_aMCatNLO/gridpack_generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ make_gridpack () {
if [ -e $CARDSDIR/${name}_extramodels.dat ]; then
echo "Loading extra models specified in $CARDSDIR/${name}_extramodels.dat"
#strip comments
sed 's:#.*$::g' $CARDSDIR/${name}_extramodels.dat | while read model
sed 's:#.*$::g' $CARDSDIR/${name}_extramodels.dat | while read -r model || [ -n "$model" ]
do
#get needed BSM model
if [[ $model = *[!\ ]* ]]; then
Expand Down

0 comments on commit ebeba3b

Please sign in to comment.