Skip to content

Feature/troika#90

Merged
corentincarton merged 6 commits into
developfrom
feature/troika
May 7, 2026
Merged

Feature/troika#90
corentincarton merged 6 commits into
developfrom
feature/troika

Conversation

@corentincarton
Copy link
Copy Markdown
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
Comment thread pyflow/host.py Outdated
name,
user,
troika_exec="%TROIKA:troika%",
troika_config="%TROIKA_CONFIG%",
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.

Is the value of TROIKA_CONFIG set somewhere?

Copy link
Copy Markdown
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.

@colonesej colonesej force-pushed the feature/troika branch 2 times, most recently from 5376bb0 to 6812b34 Compare May 6, 2026 14:40
Co-authored-by: Copilot <copilot@github.com>
@corentincarton corentincarton merged commit af6680c into develop May 7, 2026
7 checks passed
@corentincarton corentincarton deleted the feature/troika branch May 7, 2026 09:33
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.

3 participants