Skip to content

Same 'not supplied' message for .studyAreaName as the other modules - #136

Merged
eliotmcintire merged 1 commit into
developmentfrom
feat/studyAreaName-notSupplied
Oct 8, 2026
Merged

eliotmcintire merged 1 commit into
developmentfrom
feat/studyAreaName-notSupplied

Conversation

@eliotmcintire

Copy link
Copy Markdown
Collaborator

When a user does not name their study area, this module makes up a name from the study area itself and says so. Each module worded that message slightly differently, or had none, so this is mostly about making the message the same across modules.

Affects: only the wording of that one message; the name that is made up is unchanged.

Technical details

The fallback is now P(sim)$.studyAreaName <- reproducible::studyAreaName(<object>, notSupplied = ".studyAreaName"), guarded by is.null() || is.na(). reproducible prints "`.studyAreaName` not supplied; using a hash of ``: " (PredictiveEcology/reproducible#638). Before: "The .studyAreaName is not supplied; derived name from sim$studyArea_biomassParam: ", written in the module.

No reproducible floor is needed: an older studyAreaName() takes notSupplied in ... and returns the same hash with no message (checked on 3.2.1.9063). NEWS.md updated. The module's own CI is the test; locally the module test setup fails the same way on unchanged development, so it says nothing about this change.

🤖 Generated with Claude Code

…eaName message

Each module worded this message slightly differently, or had none. The
message now comes from reproducible (PredictiveEcology/reproducible#638), so
it is the same everywhere. An older reproducible ignores the argument: same
name, no message, so no version floor is needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eliotmcintire eliotmcintire added enhancement New feature or request backwards compatible Existing code and results keep working unchanged labels Oct 8, 2026
@eliotmcintire

Copy link
Copy Markdown
Collaborator Author

The message will not be shown until the version of reproducible gets updated to reproducible@development (>3.2.1.9066)

@eliotmcintire
eliotmcintire merged commit eb4c472 into development Oct 8, 2026
4 checks passed
@eliotmcintire
eliotmcintire deleted the feat/studyAreaName-notSupplied branch October 8, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards compatible Existing code and results keep working unchanged enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant