import xml.etree.cElementTree as eltree
import pipeline.h.tasks.common.manifest as manifest
[docs]class NROPipelineManifest(manifest.PipelineManifest):
[docs] @staticmethod
def add_reduction_script(ous, script):
"""
Add the template reduction script for restoredata workflow
"""
eltree.SubElement(ous, "reduction_script", name=script)
[docs] @staticmethod
def add_scalefile(ous, filename):
"""
Add the template scale file for restoredata workflow
"""
eltree.SubElement(ous, "scale_file", name=filename)