Skip to content

Conversation

corentincarton
Copy link
Collaborator

Description

Improvement of the troika constructor, setting default version to 0.2.3 (default on ecflow servers), and putting meaningless default values for the troika_exec and troika_config options.

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

@corentincarton corentincarton requested a review from oiffrig July 31, 2025 13:49
name,
user,
troika_exec="%TROIKA:troika%",
troika_config="%TROIKA_CONFIG%",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the value of TROIKA_CONFIG set somewhere?

Copy link
Collaborator Author

@corentincarton corentincarton Jul 31, 2025

Choose a reason for hiding this comment

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

It is set by default on all our ecflow servers. I agree it would break when users don't set this variable at the suite or server level but I can't find a good way of setting it. What I could also do is provide None as default and provide the %TROIKA_CONFIG% value in wellies instead, which is more ECMWF-centric. We could do the same with troika_exec and provide only troika as default.

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