Skip to content

ndi.database.metadata_app.fun.submit_dataset

 TEST_UPLOAD - upload a test dataset to the cloud
  [B, MSG, DATASET_ID] = ndi.database.metadata_app.fun.submit_dataset(S, SESSION_ID, DATASETINFORMATION) 

  inputs:
    S - ndi.session or ndi.dataset object
    session_id - the session id of the incoming session or dataset
    datasetInformation - metadata collected using the metadata app

  outputs:
    B - 1 if the upload was successful, 0 if not
    MSG - a message about the upload
    DATASET - the newly created dataset
    DATASET_ID - the dataset id of the uploaded dataset