Skip to content

Conversation

@wenzeslaus
Copy link
Member

This adds a guide how to migrate code from grass.script.run_command family of functions to grass.script.Tools.

This adds a guide how to migrate code from grass.script.run_command family of functions to grass.script.Tools.
@github-actions github-actions bot added docs markdown Related to markdown, markdown files labels Jan 2, 2026
Copy link
Member

@echoix echoix left a comment

Choose a reason for hiding this comment

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

Used Antidote software, found a couple typos, otherwise seems good!

which explicitly sets up and passes a session to tool calls.
(A code for an analytical GRASS tool will typically leave out the session
handling completely relying on the parent session.
Scripts may only setup the a global session without passing it explicitly.
Copy link
Member

Choose a reason for hiding this comment

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

Please check if there's a missing word. Otherwise, maybe the following fixes it

Suggested change
Scripts may only setup the a global session without passing it explicitly.
Scripts may only set up a global session without passing it explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs markdown Related to markdown, markdown files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants