Skip to content

Add explicitly listed artifacts to sources#161

Open
dfuchsgruber wants to merge 2 commits intomasterfrom
artifacts
Open

Add explicitly listed artifacts to sources#161
dfuchsgruber wants to merge 2 commits intomasterfrom
artifacts

Conversation

@dfuchsgruber
Copy link
Contributor

What does this implement/fix?

This PR enables explicitly listing files / folders in the experiment's seml configuration that will be uploaded to MongoDB. This can be used for all sort of artifacts that are relevant to run experiments but are not explicitly detected by source code discovery which only considers .py files.

Additional information

  • I updated the docs via typer-cli with _SEML_COMPLETE=1 typer seml.__main__ utils docs --name seml --output docs.md or did not change the CLI.

@dfuchsgruber dfuchsgruber requested a review from n-gao December 12, 2025 16:06
@n-gao
Copy link
Collaborator

n-gao commented Dec 13, 2025

Instead of listing files or directories wouldn't it make more sense to allow for arbitrary globs? That makes our code easier and allows for globs within the configuration like **/*.yaml ?

@n-gao
Copy link
Collaborator

n-gao commented Dec 13, 2025

from what I can tell, there's no change to the database scheme, right? So, we shouldn't expect any problems with existing collections?

@dfuchsgruber
Copy link
Contributor Author

Good idea. Added support for glob patterns.

@n-gao
Copy link
Collaborator

n-gao commented Dec 28, 2025

I'd propose that there should be one pattern not multiple, i.e., only do globs and no-implicit globs?

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