Skip to content

Commit 1beac45

Browse files
committed
Revert "Add dummy change to prove functionality of the code"
This reverts commit f85e74e.
1 parent 9f04194 commit 1beac45

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

eb_hooks.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
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
43
import ast
54
import datetime
65
import glob
@@ -152,7 +151,7 @@ def parse_list_of_dicts_env(var_name):
152151
if not re.match(r'^[A-Za-z_][A-Za-z0-9_]*$', var_name):
153152
raise ValueError(f"Invalid environment variable name: {var_name}")
154153
list_string = os.getenv(var_name, '[]')
155-
154+
156155
list_of_dicts = []
157156
try:
158157
# Try JSON format first
@@ -163,7 +162,7 @@ def parse_list_of_dicts_env(var_name):
163162
list_of_dicts = ast.literal_eval(list_string)
164163
except (ValueError, SyntaxError):
165164
raise ValueError(f"Environment variable '{var_name}' does not contain a valid list of dictionaries.")
166-
165+
167166
return list_of_dicts
168167

169168

@@ -212,7 +211,7 @@ def post_ready_hook(self, *args, **kwargs):
212211
parallel = self.parallel
213212
else:
214213
parallel = self.cfg['parallel']
215-
214+
216215
if parallel == 1:
217216
return # no need to limit if already using 1 core
218217

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

0 commit comments

Comments
 (0)