NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Revised the wiki page title.
Excerpt
hiddentrue
  • dm_get_dataobject
Note

This page is a work in progress.

If your user account has the Read, Write, or Own permission level on a data file in DME, the following command allows you to view all metadata associated with that data file:

Code Block
dm_get_dataobject <dataobject-path> [metadata-file] [REST-response]

The following table describes each parameter:

ParameterDescription
<dataobject-path> 
The path to the data file.
[metadata-file]

An optional path and filename.

  • If you specify this parameter, the system creates the specified file in the specified location and saves the metadata in that file.
  • If you do not specify this parameter, the system prints the metadata to standard output.

The system provides information about the data file, a list of attribute values for the file, and a list of attribute values for the parent collection.

[REST-response]

Include Page
shared info - REST-response parameter
shared info - REST-response parameter

For example, the following command allows you to view the metadata associated with the sample.txt data file:

Code Block
dm_get_dataobject /TEST_Archive/PI_Lab1/Project_Orig/sample.txt

For instructions on performing a similar task in the GUI, refer to Viewing Data Details via the GUI