Skip to content
Snippets Groups Projects
Commit 57f0d49b authored by Joseph Weston's avatar Joseph Weston
Browse files

make Builder.fill raise exception when no new sites are added

Previously, 'syst.fill(template, shape, start)' would return
successfully even if all sites in domain 'start' are outside of 'shape'.
This is in contrast to the behaviour of 'lattice.shape'.
In addition, if the target builder already has sites in the start domain
and `overwrite=False` then we should raise an exception, as this is
probably not what the user expects.

Closes #107
parent b607115e
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment