Skip to content
Snippets Groups Projects
Commit 4d4698f0 authored by Christoph Groth's avatar Christoph Groth
Browse files

reformulate message of previous commit

parent 6adf7afd
Branches
No related tags found
No related merge requests found
......@@ -1071,7 +1071,7 @@ class Builder(object):
the leads are numbered in the order in which they are attached.
"""
if self.symmetry.num_directions:
raise ValueError("Can only attach leads to finite systems")
raise ValueError("Leads can only be attached to finite systems.")
if add_cells < 0 or int(add_cells) != add_cells:
raise ValueError('add_cells must be an integer >= 0.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment