Skip to content

Update handling of updated configuration files #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: develop
Choose a base branch
from

Conversation

gareth-j
Copy link
Member

@gareth-j gareth-j commented Oct 29, 2024

This updates wellies to read the new config files.

Documentation will be updated separately with #19

@gareth-j gareth-j removed the request for review from corentincarton October 29, 2024 16:52
Copy link
Collaborator

@colonesej colonesej left a comment

Choose a reason for hiding this comment

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

looks great @gareth-j, do you have anything else you still want to add?

@@ -8,83 +10,111 @@ import wellies as wl
ROOT_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)))


@dataclass
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hey @gareth-j , don't you think we can add these two classes to wellies/host.py? This would allow us to use the new api on existing suites just changing yml's and the Config implementation.

submit_arguments: dict,
job_out: str,
workdir: str,
troika_kwargs: Optional[dict] = None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would maybe call this pyflow_host_kwargs ?? more verbose but a bit more general in my opinion

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