Skip to content

Refactor HpcModule to return all modules across clusters #4378

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 2 commits into
base: master
Choose a base branch
from

Conversation

ahmed-mgd
Copy link
Contributor

Fixes #4350 and refactors mod browser components accordingly

@johrstrom
Copy link
Contributor

CI is going to fail for some time until I can sort it out.

@johrstrom johrstrom closed this May 23, 2025
@johrstrom johrstrom reopened this May 23, 2025
end.flatten.uniq.reject(&:hidden?)
rescue StandardError => e
Rails.logger.warn("Did not read #{file} correctly because #{e.class}:#{e.message}")
def all(cluster = nil)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this be a keyword parameter instead of a positional one? I think it's just a little nicer because then you can call all without anything.

@johrstrom
Copy link
Contributor

Looks like there were some unit tests for this that we need to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor hpc_module
3 participants