You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error message: wrong number of summary statistics in statobs file. #156
I was wondering if anyone has run into this issue when running DIYABC-RF? I am running the GUI as a shiny app on Mac (R4.2.1 and have also tried newer versions). The training set simulation has worked and all output files have been created. However, when I try to run the RF analysis, I get the below error message:
read reftable done.
wrong number of summary statistics in statobs file.
I have checked the statobs file and checked it in Excel to ensure it contains the correct number of summary stats (130), which it does. Has anyone had this issue before with statobsRF.txt? Thanks in advance!
I checked 'abcranger' can only handle numbers with 8 decimal places.
So, when all numbers in statobsRF.txt are converted to 8 decimal places, you can run Random Forest analysis with no error.
Had the same "wrong number of summary statistics in statobs" issue . Manually removed some decimal place as per @beeul25 from my summary statistics and that issue was overridden.
Now I do get a segmentation fault, but that's another story :-(
Due to work overload, the development, support and maintenance for the project diyabcGUI is currently paused. Feel free to contact us (by submitting an issue) if you want to take over the development for this project. Pull request are also welcome to fix bug or implement missing functionalities.
I have updated the README file to announce this. This is the official announcement to clarify a situation that has been going on for quite some time.
You can still use the command line version of the software which is still maintained/supported. Check the documentation page here.
For anyone else experiencing this error, editing the number of decimal places in the statobsRF.txt file did not work for me. But it appears this issue has been fixed in the newest command line version of abcranger. So just install the latest abcranger (v1.16.69) and use your data, headerRF.txt, statobsRF.txt and reftableRF.bin files from the GUI version as inputs.
Activity
beeul25 commentedon Apr 16, 2024
It seems I solve that problem.
I checked 'abcranger' can only handle numbers with 8 decimal places.
So, when all numbers in statobsRF.txt are converted to 8 decimal places, you can run Random Forest analysis with no error.
good luck.
GiulianoColosimo commentedon Jun 18, 2024
Had the same "wrong number of summary statistics in statobs" issue . Manually removed some decimal place as per @beeul25 from my summary statistics and that issue was overridden.
Now I do get a segmentation fault, but that's another story :-(
gdurif commentedon Aug 30, 2024
Hi, I am really sorry for the very late reply.
Due to work overload, the development, support and maintenance for the project diyabcGUI is currently paused. Feel free to contact us (by submitting an issue) if you want to take over the development for this project. Pull request are also welcome to fix bug or implement missing functionalities.
I have updated the README file to announce this. This is the official announcement to clarify a situation that has been going on for quite some time.
You can still use the command line version of the software which is still maintained/supported. Check the documentation page here.
All my apologies for the trouble,
Best regards
weeds23 commentedon Mar 31, 2025
For anyone else experiencing this error, editing the number of decimal places in the statobsRF.txt file did not work for me. But it appears this issue has been fixed in the newest command line version of abcranger. So just install the latest abcranger (v1.16.69) and use your data, headerRF.txt, statobsRF.txt and reftableRF.bin files from the GUI version as inputs.