Skip to content
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

Update analyze's error message to provide better clarity #641

Merged

Conversation

linsword13
Copy link
Collaborator

Example session:

$ ramble workspace analyze --where '{experiment_index} == 1'
==> Streaming details to log:
==>   /usr/local/google/home/linsword/hpc-dev/ramble/var/ramble/workspaces/hostname-test/logs/analyze.2024-09-11_13.12.38.out
==>   Analyzing 1 out of 12 experiments:
==> Error: No analyzeable experiment detected. All selected ones are either templates or the base of repeated experiments.

$ ramble workspace analyze --where '{experiment_index} == 13'
==> Streaming details to log:
==>   /usr/local/google/home/linsword/hpc-dev/ramble/var/ramble/workspaces/hostname-test/logs/analyze.2024-09-11_13.12.44.out
==>   Analyzing 0 out of 12 experiments:
==> Error: No experiment left for analysis after filtering.

Copy link
Collaborator

@douglasjacobsen douglasjacobsen left a comment

Choose a reason for hiding this comment

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

One small change, otherwise looks good!

Example session:

```sh
$ ramble workspace analyze --where '{experiment_index} == 1'
==> Streaming details to log:
==>   /usr/local/google/home/linsword/hpc-dev/ramble/var/ramble/workspaces/hostname-test/logs/analyze.2024-09-11_13.12.38.out
==>   Analyzing 1 out of 12 experiments:
==> Error: No analyzeable experiment detected. All selected ones are either templates or the base of repeated experiments.

$ ramble workspace analyze --where '{experiment_index} == 13'
==> Streaming details to log:
==>   /usr/local/google/home/linsword/hpc-dev/ramble/var/ramble/workspaces/hostname-test/logs/analyze.2024-09-11_13.12.44.out
==>   Analyzing 0 out of 12 experiments:
==> Error: No experiment left for analysis after filtering.
```
@douglasjacobsen douglasjacobsen merged commit ef315f2 into GoogleCloudPlatform:develop Sep 12, 2024
12 checks passed
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