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

Fix broken dendrogram names #77

Merged
merged 5 commits into from
Mar 12, 2024
Merged

Conversation

Pennycook
Copy link
Contributor

Related issues

Fixes #73. Must be merged after #76.

Proposed changes

  • Determine dendrogram based on the list of platforms in the analysis, not the list of platforms on the command line.
  • Combine the analysis file name with the platform names in the form [analysis-file]-[platform]-[platform]-dendrogram.png

After internal testing and review, we reached the conclusion that using -p to
both define and filter platforms was too confusing and difficult to teach.
Additionally, there are concerns that use of flags to define platforms may not
scale, since real-life use-cases may require more than a list of commands.

This commit is a partial revert of intel#49: the ability to filter platforms
remains, but the ability to define platforms directly via JSON is removed.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Separates legacy behavior (YAML files) and modern behavior (TOML files).
When using TOML files, the output name is updated to reflect the subset
of platforms that were actually included in the analysis.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
@Pennycook Pennycook added the bug Something isn't working label Mar 6, 2024
@Pennycook Pennycook added this to the 1.2.0 milestone Mar 6, 2024
Copy link
Contributor

@laserkelvin laserkelvin left a comment

Choose a reason for hiding this comment

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

Just a single comment on what error to throw, but not showstopping

bin/codebasin Outdated Show resolved Hide resolved
Signed-off-by: John Pennycook <john.pennycook@intel.com>
@Pennycook Pennycook merged commit 2500ea9 into intel:main Mar 12, 2024
2 checks passed
@Pennycook Pennycook deleted the dendrogram-names branch March 12, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some dendrograms have no name
2 participants