Module: getExperimentFiles | getExperimentFiles.py |
---|---|
getExperimentFiles.py is a script run to return a text output of selected experiment files data. It is presently used by the madmatlab methods getExperimentFiles, and via the cgi script getExperimentFilesService.py the madmatlab method getExperimentFilesWeb. It has the following input arguments: --id=<experiment id> (integer) --trusted=<0 if not, 1 if is> (default to not trusted) Returns comma-delimited data, one line for each experiment file, with the following fields:
Returns empty string if experiment id nor found, and returns status -1. This script, and the corresponding cgi script getExperimentFilesService.py are available to any scripting language that wants to access Madrigal metadata. |