extensions/xnat/src/components/XNATSegmentationPanel.js
/**
   * onIOComplete - A callback executed on succesful completion of an
   * IO opperation. Recalculates the Segmentation state.
   *
   * @returns {type}  description
   */
A callback executed on succesful completion of an
IO opperation. Recalculates the Segmentation state.

@returns {type}  description
A callback executed on succesful completion of an IO opperation . Recalculates the Segmentation state . @returns { type } description
onIOComplete() {
    const { firstImageId } = this.state;
    const importMetadata = this.constructor._importMetadata(firstImageId);
    const segments = this.constructor._segments(firstImageId);
    const activeSegmentIndex = this._getActiveSegmentIndex(firstImageId);
    const labelmap3D = this._getLabelmap3D(firstImageId);
    this.setState({
      importMetadata,
      segments,
      activeSegmentIndex,
      labelmap3D,
      importing: false,
      exporting: false,
    });
  }
onIOComplete ( ) { const { firstImageId } = this . state ; const importMetadata = this . constructor . _importMetadata ( firstImageId ) ; const segments = this . constructor . _segments ( firstImageId ) ; const activeSegmentIndex = this . _getActiveSegmentIndex ( firstImageId ) ; const labelmap3D = this . _getLabelmap3D ( firstImageId ) ; this . setState ( { importMetadata , segments , activeSegmentIndex , labelmap3D , importing : false , exporting : false , } ) ; }
onIOComplete - A callback executed on succesful completion of an
 IO opperation.
onIOComplete - A callback executed on succesful completion of an IO opperation .