Skip to content

Correctly save basename to grain_stats.csv#1368

Merged
tobyallwood merged 1 commit into
mainfrom
tobyallwood/basename-fix
Jun 11, 2026
Merged

Correctly save basename to grain_stats.csv#1368
tobyallwood merged 1 commit into
mainfrom
tobyallwood/basename-fix

Conversation

@tobyallwood

Copy link
Copy Markdown
Collaborator

Recently how basename is used was changed, and an error has been discovered that when creating the dataframe for grain_statistics.csv basename is always ..

This was because .name was being incorrectly used, .name strips all directory info from the variable and only keeps the filename, which then can't give a parent so the output is just ..

I think during the recent changes to basename functionality I must've missed changing the grain_statistics.csv basename to the final version as all other .csvs have working basename fields. Apologies!

@ubdbra001 ubdbra001 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me

@tobyallwood tobyallwood added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit ff2d35d Jun 11, 2026
7 checks passed
@tobyallwood tobyallwood deleted the tobyallwood/basename-fix branch June 11, 2026 14:00
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