Skip to content

Commit

Permalink
Fix detecting Tetralith environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Jul 8, 2021
1 parent f7d92c6 commit fd7cc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,4 +479,4 @@ class TetralithEnvironment(SlurmEnvironment):
@classmethod
def is_present(cls):
node = platform.node()
return node == "tetralith2.nsc.liu.se" or re.match(r"n\d+", node)
return re.match(r"tetralith\d+\.nsc\.liu\.se|n\d+", node)

0 comments on commit fd7cc76

Please sign in to comment.