Skip to content

Commit f85e74e

Browse files
author
Caspar van Leeuwen
committed
Add dummy change to prove functionality of the code
1 parent cebf53e commit f85e74e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

eb_hooks.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Hooks to customize how EasyBuild installs software in EESSI
22
# see https://docs.easybuild.io/en/latest/Hooks.html
3+
# DUMMY CHANGE, DONT MERGE
34
import ast
45
import datetime
56
import glob
@@ -151,7 +152,7 @@ def parse_list_of_dicts_env(var_name):
151152
if not re.match(r'^[A-Za-z_][A-Za-z0-9_]*$', var_name):
152153
raise ValueError(f"Invalid environment variable name: {var_name}")
153154
list_string = os.getenv(var_name, '[]')
154-
155+
155156
list_of_dicts = []
156157
try:
157158
# Try JSON format first
@@ -162,7 +163,7 @@ def parse_list_of_dicts_env(var_name):
162163
list_of_dicts = ast.literal_eval(list_string)
163164
except (ValueError, SyntaxError):
164165
raise ValueError(f"Environment variable '{var_name}' does not contain a valid list of dictionaries.")
165-
166+
166167
return list_of_dicts
167168

168169

@@ -211,7 +212,7 @@ def post_ready_hook(self, *args, **kwargs):
211212
parallel = self.parallel
212213
else:
213214
parallel = self.cfg['parallel']
214-
215+
215216
if parallel == 1:
216217
return # no need to limit if already using 1 core
217218

@@ -733,7 +734,7 @@ def pre_configure_hook_score_p(self, *args, **kwargs):
733734
def pre_configure_hook_vsearch(self, *args, **kwargs):
734735
"""
735736
Pre-configure hook for VSEARCH
736-
- Workaround for a Zlib macro being renamed in Gentoo, see https://bugs.gentoo.org/383179
737+
- Workaround for a Zlib macro being renamed in Gentoo, see https://bugs.gentoo.org/383179
737738
(solves "expected initializer before 'OF'" errors)
738739
"""
739740
if self.name == 'VSEARCH':

0 commit comments

Comments
 (0)