Skip to content

Display the sources of a DataSet properly; ask for a name for a new DataSet

Ammar Nejati requested to merge longTextMetadata into develop

The source files used to make a DataSet are stored as a comma-separated strings in DataSet::MetaData["sources"].

In Session::loadRawData, DataSet::MetaData is accumulated from the individual metadata produced by the reader.

NumorProperty::onChanged displays the list of sources of the DataSet as a drop-down list using QComboBox.

Upon loading new data (in Session::loadData or Session::loadRawData), the user is prompted to choose a name (implemented in gui/dialogs/DataNameDialog). If the name already exists, the user is warned about the name clash and asked for confirmation (implemented in gui/dialogs/ConfirmOverwriteDialog).

Resolves issue #87 (closed), #89 (closed)

TODO: The long metadata strings should be stored correctly in the HDF5 file (ExperimentExporter.writeData, section for 'Info'). The length is currently limited to 80 chars.

Edited by Ammar Nejati

Merge request reports