Hello,
I am currently testing your latest automated workflow using QCPA with my data. Initially, I tried it on the test data you provided. I followed the instructions in the worked_examples_batch_script v1.1.pdf. However, I encountered an error that stated “Undefined variable in line 50 ext=<default settings> [0];”. This error appeared multiple times, but eventually, it worked successfully and I don’t know how. When I configured all the parameters as per the manual and attempted to run it, a new error occurred in line 1334, which said “run(“Load Multispectral Image”, “select=[“+parentPath+speciesList[y]+IndividualsList[x]+mspecname+”] image=[Linear Normalised Reflectance Stack]”);”. I then re-extracted the ‘Batch QCPA.zip’ folder and placed it into the ‘micaToolbox’ folder, but the previous error in line 50 reappeared. I am curious about the cause of this issue and look forward to your response. Thank you!
Best wishes,
Constance Cynic
Heya,
Your first error (L50) indicates that the program cannot load the default settings, which should not be an issue with correct installation and access rights (e.g. try running as Admin, etc.).
Similarly, the second error indicates the program’s inability to find the file it is looking for at the correct location. It seems both these errors point towards a possible faulty installation. Have a look at the manual & worked example file, these hopefully help? Also, the script expects there to not be any indicator of versions, so if you haven’t yet, try removing v1.0 etc from any of the folders and scripts. I hope this helps?
Cheers,
Cedric