def readDescription(cls, descriptionFilePath):
     """
     Parse the description file at the given path and return a 
     :py:class:`jsonConfig.Namespace` object with the description parameters.
     The file will be parsed according to the schema given by :py:data:`RESTfulBlockwiseFileset.DescriptionFields`.
     Any optional parameters not provided by the user are filled in automatically.
     
     :param descriptionFilePath: The path to the description file to parse.
     """
     description = RESTfulBlockwiseFileset.DescriptionSchema.parseConfigFile( descriptionFilePath )
     RESTfulVolume.updateDescription(description.remote_description)
     return description
Example #2
0
 def readDescription(cls, descriptionFilePath):
     """
     Parse the description file at the given path and return a 
     :py:class:`jsonConfig.Namespace` object with the description parameters.
     The file will be parsed according to the schema given by :py:data:`RESTfulBlockwiseFileset.DescriptionFields`.
     Any optional parameters not provided by the user are filled in automatically.
     
     :param descriptionFilePath: The path to the description file to parse.
     """
     description = RESTfulBlockwiseFileset.DescriptionSchema.parseConfigFile(
         descriptionFilePath)
     RESTfulVolume.updateDescription(description.remote_description)
     return description