bug fix, call method for agg type name
@@ -302,7 +302,7 @@ class AbstractFileMetaData(models.Model, RDF_MetaData_Mixin):
return URIRef("{}/resource/{}#".format(current_site_url(), self.logical_file.metadata_file_path))
def rdf_type(self):
- return getattr(HSTERMS, self.logical_file.get_aggregation_type_name)
+ return getattr(HSTERMS, self.logical_file.get_aggregation_type_name())
def ingest_metadata(self, graph):
super(AbstractFileMetaData, self).ingest_metadata(graph)
