Skip to content
Permalink
Browse files

#MC-368 Add Work Development 5m fixes 'Element' object has no attribu…

…te 'element' error on Stratigraphy search

fixes 'Element' object has no attribute 'element' error on Stratigraphy search
see https://sentry.io/organizations/he-arc/issues/1015564846/?referrer=youtrack_plugin
  • Loading branch information...
bletourmy committed May 8, 2019
1 parent e77ceaa commit 029a11acec2ec8c746ed1ef9a149180f97e1ff73
Showing with 1 addition and 1 deletion.
  1. +1 −1 micorr/stratigraphies/neo4jdao.py
@@ -680,7 +680,7 @@ def match(self, data):
line['node_base_url'] = node_base_url

line['artefact_id'] = published_artefact.pk
line['artefact_metal_e_1'] = published_artefact.metal_e_1.element
line['artefact_metal_e_1'] = published_artefact.metal_e_1.symbol
line['artefact_alloy'] = published_artefact.alloy.name
line['artefact_type'] = published_artefact.type.name
line['artefact_chronology_category'] = published_artefact.chronology_category.name

0 comments on commit 029a11a

Please sign in to comment.
You can’t perform that action at this time.