Closed ethanjli closed 5 months ago
I tested this PR with an image acquisition using the "Plankton net" sample type and then ran the segmenter on the resulting dataset and confirmed that sample_total_volume
is exported as a metadata field in the EcoTaxa export from the segmenter.
This PR fixes #316 by making the Node-RED dashboard export the
sample_total_volume
metadata field (corresponding to the "Filtered volume" input field on the "Sample" page) for all sample types, instead of only exporting it on horizontal Plankton tow sample types.This PR also (hopefully) fixes a regression caused by #352, in which the segmenter would be unable to create a
done.txt
file within/home/pi/data/img
because that directory would be automatically created with root ownership.