async function initFromDataset(fileName, index) {
  session.fileName = fileName;
  session.index = index;
  // Fetch the Dataset containing the Reaction proto.
  session.dataset = await getDataset(fileName);
  const reaction = session.dataset.getReactionsList()[index];
  init(reaction);
}
/**
 * Initializes the form from a Dataset name and Reaction index.
 * @param {string} fileName Path to a Dataset proto.
 * @param {number} index The index of this Reaction in the Dataset.
 */
Initializes the form from a Dataset name and Reaction index.
@param {string} fileName Path to a Dataset proto.
@param {number} index The index of this Reaction in the Dataset.
Initializes the form from a Dataset name and Reaction index . @param { string } fileName Path to a Dataset proto . @param { number } index The index of this Reaction in the Dataset .
async function initFromDataset(fileName, index) {
  session.fileName = fileName;
  session.index = index;
  session.dataset = await getDataset(fileName);
  const reaction = session.dataset.getReactionsList()[index];
  init(reaction);
}
async function initFromDataset ( fileName , index ) { session . fileName = fileName ; session . index = index ; session . dataset = await getDataset ( fileName ) ; const reaction = session . dataset . getReactionsList ( ) [ index ] ; init ( reaction ) ; }
Initializes the form from a Dataset name and Reaction index.
Initializes the form from a Dataset name and Reaction index .
// Fetch the Dataset containing the Reaction proto.