= name) {
        return i;
      }
    }
    return null;
  },

  maybeSelectLocus() {
    const suggestions = this.suggestedItems || [];
    if (suggestions.includes(this.locusItem)) {
      this.selectItem(this.locusItem);
      this.set('dropdownOpen', false);
    }
  },

  moveLocus(down) {
    const delta = down ? 1 : -1;
    const suggestions = this.suggestedItems || [];
    const n = suggestions.length;
    let index = suggestions.indexOf(this.locusItem);
    if (index === -1 && !down) {
      index