Page 1 of 1

gpdcreport -m option

Posted: Mon Mar 18, 2013 11:12 am
by vincent.metais

I think there is an error when we use the option -m (max misfit) with gpdcreport 0.3.6 . In fact, if we compare the result of this 2 command lines :

Code: Select all

	./gpdcreport -vs  $"${path_resultat}"/"${name_report}".report > "${path_resultat}"/report_vs.txt
	./gpdcreport -m $max_misfit -vs   $"${path_resultat}"/"${name_report}".report  > "${path_resultat}"/report_vs2.txt
we have profiles with a misfit lower than the variable "max_misfit" which don't appear in the report "report_vs2.txt". It is like if the -m option takes the variable "max_misfit" as an integer.

For now, I haven't found the bug in the cpp code.

Thank you

Re: gpdcreport -m option

Posted: Wed Mar 20, 2013 7:44 am
by vincent.metais

I have found the problem. Floating arguments have to be written with a coma ',' and not with a dot '.' . This is valid for all programs.