Skip to content
  • Joseph Weston's avatar
    make Builder.fill raise exception when no new sites are added · 57f0d49b
    Joseph Weston authored
    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
    57f0d49b