report requires directory name when specifying options
This works:
/g/kosinski/kosinski/devel/bash_scripts/report
and this:
/g/kosinski/kosinski/devel/bash_scripts/report ./ -p 0.5 -c 0.1
but this doesn't
/g/kosinski/kosinski/devel/bash_scripts/report -p 0.5 -c 0.1
with error:
kosinski@login.cluster.embl.de:/scratch/kosinski/PFC/fitting$ /g/kosinski/kosinski/devel/bash_scripts/report -p 0.5 -c 0.1
basename: invalid option -- 'p'
Try 'basename --help' for more information.
Creating report file report__p_0.0001_c_0.3_15:34:59.txt on -p with thresholds: pvalue:0.0001 cam score:0.3
No solution_pvalues.csv file found in the following directories:
find: unknown predicate `-p'
find: unknown predicate `-p'
Found 0 solution files.
The report containts 0 hits. Do you wish to print it?
Otherwise super useful script!