anchor.diff:                          & N!/(n_1! n_2! ... n_k!). This number should not exceed the &
                           & maximum value that can be stored in a long integer. You should &
                           & reduce the maximum supercell size."
  -             stop
  +             stop "Bad Index Error"
             end if
   
             ! table and then mark the symmetry brothers
  
positive.code:                    write(*,'(100i1)') a
                     write(*,'(100i1)') a(perm(q,:))
                     print *,"An index outside the expected range (i.e., outside the hash table) occurred in get_permutations_labeling"
                     stop
                  endif
                  if(lab(idx)=='')then
                     degeneracy_list(nUniq) = degeneracy_list(nUniq) + 1
  
negative.code:        write(*,*) "Allocation of 'degeneracy list' failed in generate_permutation_labelings"
         write(*,*) "This typically happens when the enumeration problem attempted"
         write(*,*) "is too big and the hash table cannot be allocated."
         stop "Allocation error"
      endif
      degeneracy_list = 0
      nUniq = 0
  