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

Defining multiple classes inside an easyblock file #4543

Open
Crivella opened this issue May 24, 2024 · 0 comments
Open

Defining multiple classes inside an easyblock file #4543

Crivella opened this issue May 24, 2024 · 0 comments

Comments

@Crivella
Copy link

As of know, defining multiple classes inside an easyblock file will cause eb --list-easyblocks and its associated unittest to fail (see easybuilders/easybuild-easyblocks#3338 for example)

Considering all formal easyblocks class names are supposed to start with EB_ i was wondering if it could make sense to change the regex at

class_regex = re.compile(r"^class ([^(]*)\(", re.M)
to search only for classes starting with EB_.

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

No branches or pull requests

1 participant