Skip to content

Conversation

@HaleySchuhl
Copy link
Contributor

Describe your changes
Throughout main plantcv we labels objects as 1-indexed (the first object is "object 1" rather than "object 0"). These changes conform the observations saved by geospatial analysis functions to also be 1-indexed.

Type of update
Is this a:

  • Bug fix

Associated issues
Reference associated issue numbers. Does this pull request close any issues?

Additional context
There's also a fix to which attribute of the Outputs object contains the replicate label. It should be the sample attribute and the label is usually similar/the same as units. For multi-value traits, like frequency tables, it's the bin labels.

For the reviewer
See this page for instructions on how to review the pull request.

  • PR functionality reviewed in a Jupyter Notebook
  • All tests pass
  • Test coverage remains 100%
  • Documentation tested
  • New documentation pages added to plantcv-geospatial/mkdocs.yml
  • Changes to function input/output signatures added to changelog.md
  • Code reviewed
  • PR approved

@deepsource-io
Copy link

deepsource-io bot commented Sep 3, 2025

Here's the code health analysis summary for commits d18126a..bc69e36. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗

Code Coverage Report

MetricAggregatePython
Branch Coverage100%100%
Composite Coverage100%100%
Line Coverage100%100%
New Branch Coverage100%100%
New Composite Coverage100%100%
New Line Coverage100%100%

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

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.

2 participants