Skip to content

Commit

Permalink
Merge pull request #32 from JeffersonLab/DEV
Browse files Browse the repository at this point in the history
change wasn't properly committed
  • Loading branch information
T-Britton authored Dec 7, 2017
2 parents 1fcd514 + 32aaa7b commit b9b1b5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions MCwrapper/MakeMC.csh
Original file line number Diff line number Diff line change
Expand Up @@ -775,11 +775,11 @@ if ( "$GENR" != "0" ) then
hd_root ./$STANDARD_NAME'_geant'$GEANTVER'_smeared.hddm' -PPLUGINS=$PluginStr -PNTHREADS=$NUMTHREADS

endif
set hd_root_return_code=$?
if ( hd_root_return_code != 0 ) then
echo "Something went wrong with hd_root"
exit hd_root_return_code
endif
#set hd_root_return_code=$?
#if ( hd_root_return_code != 0 ) then
# echo "Something went wrong with hd_root"
# exit hd_root_return_code
#endif
if ( -f dana_rest.hddm ) then
mv dana_rest.hddm dana_rest_$STANDARD_NAME.hddm
endif
Expand Down
8 changes: 4 additions & 4 deletions MCwrapper/MakeMC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -775,10 +775,10 @@ if [[ "$GENR" != "0" ]]; then
echo "hd_root ""$STANDARD_NAME"'_geant'"$GEANTVER"'_smeared.hddm'" -PPLUGINS=""$PluginStr ""-PNTHREADS=""$NUMTHREADS"
hd_root ./$STANDARD_NAME'_geant'$GEANTVER'_smeared.hddm' -PPLUGINS=$PluginStr -PNTHREADS=$NUMTHREADS
fi
if [[ hd_root_return_code != 0 ]]; then
echo "Something went wrong with hd_root"
exit hd_root_return_code
fi
#if [[ hd_root_return_code != 0 ]]; then
# echo "Something went wrong with hd_root"
# exit hd_root_return_code
# fi

if [[ -f dana_rest.hddm ]]; then
mv dana_rest.hddm dana_rest_$STANDARD_NAME.hddm
Expand Down

0 comments on commit b9b1b5f

Please sign in to comment.