Skip to content
Snippets Groups Projects
Commit 743fb299 authored by adrien-matta's avatar adrien-matta
Browse files

* Updating nptool.sh npp command and README.md to reflect new folder

* structure
parent 4ebbdb83
No related branches found
No related tags found
No related merge requests found
...@@ -89,8 +89,7 @@ This will run the 11Li(d,3He)10He->8He+n+n simulation and produce a root file lo ...@@ -89,8 +89,7 @@ This will run the 11Li(d,3He)10He->8He+n+n simulation and produce a root file lo
You can now try to analyse this simulated tree using the associated NPAnalysis project: You can now try to analyse this simulated tree using the associated NPAnalysis project:
```` ````
$ npa $ npp Example1
$ cd Example1/
$ cmake ./ $ cmake ./
$ make -jn $ make -jn
$ npanalysis -R RunToTreat.txt -O Example1 $ npanalysis -R RunToTreat.txt -O Example1
......
...@@ -35,7 +35,12 @@ export npa_not_supported='npa is now longer supported, use npp instead' ...@@ -35,7 +35,12 @@ export npa_not_supported='npa is now longer supported, use npp instead'
alias npa='echo $npa_not_supported' alias npa='echo $npa_not_supported'
function npp { function npp {
cd $NPTOOL/Projects/$1 if [[ $1 == *"Example"* ]]
then
cd $NPTOOL/Examples/$1
else
cd $NPTOOL/Projects/$1
fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment