Skip to content

Export the filtered volume metadata field on all sample types#364

Merged
ethanjli merged 2 commits into
masterfrom
fix/filtered-volume-metadata-reporting
Jan 27, 2024
Merged

Export the filtered volume metadata field on all sample types#364
ethanjli merged 2 commits into
masterfrom
fix/filtered-volume-metadata-reporting

Conversation

@ethanjli
Copy link
Copy Markdown
Collaborator

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.

@ethanjli ethanjli enabled auto-merge January 27, 2024 20:44
@ethanjli ethanjli added this pull request to the merge queue Jan 27, 2024
@ethanjli
Copy link
Copy Markdown
Collaborator Author

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.

Merged via the queue into master with commit 9c9a34c Jan 27, 2024
@ethanjli ethanjli deleted the fix/filtered-volume-metadata-reporting branch January 27, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

frontend/node-red-dashboard: filtered volume is dropped from metadata export in the single-location sample type

1 participant