Skip to content

#539 Remove message about builtins.#540

Open
hiker wants to merge 5 commits intomainfrom
539_remove_builtin_message
Open

#539 Remove message about builtins.#540
hiker wants to merge 5 commits intomainfrom
539_remove_builtin_message

Conversation

@hiker
Copy link
Collaborator

@hiker hiker commented Jan 15, 2026

Tiny fix to remove unnecessary message in log files. Fixes #539.

@hiker hiker added the Ready for review Indicating that a PR is ready to be reviewed. label Jan 22, 2026
@MatthewHambley
Copy link
Collaborator

See stfc/PSyclone#3291 for discussion of a proper API to obtain built-in names.

Copy link
Collaborator

@MatthewHambley MatthewHambley left a comment

Choose a reason for hiding this comment

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

Just one question.

Comment on lines +13 to +16
try:
from psyclone.domain.lfric.lfric_builtins import BUILTIN_MAP # type: ignore
except ImportError:
BUILTIN_MAP = {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Checking the PSyclone source, the BUILTIN_MAP variable was added 9 years ago so is there a need to handle its non-existance?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it is required in case that you don't have PSyclone installed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've added a comment to explain this.

@hiker hiker requested a review from MatthewHambley March 3, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for review Indicating that a PR is ready to be reviewed.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Verify builtins

2 participants