ref ts aggregation metadata xml change
@@ -195,6 +195,7 @@ class TimeSeries(object):
hs_method_desc = etree.SubElement(hs_rdf_method_desc, '{%s}methodDescription'
% NAMESPACES['hsterms'])
hs_method_desc.text = self.method_description
+ if self.method_link:
hs_method_link = etree.SubElement(hs_rdf_method_desc, '{%s}methodLink'
% NAMESPACES['hsterms'])
hs_method_link.text = self.method_link
