Commit d94fe829 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish.

parent be0641b6
......@@ -93,7 +93,7 @@ def add_conference_data(recjson):
# Add conference data to the recjson
#
recjson[u"meeting_name"] = confjson[u"meeting_name"]
recjson[u"meeting"] = {
recjson[u"meeting_note"] = {
u"recid": confjson[u"recid"],
u"url": confjson[u"url"][u"url"]}
......
......@@ -15,7 +15,7 @@ class RecordConf(RecordPubli):
+---------------+-----------------------------------------------+
| meeting_name | closing_date, coference_code, country, date, |
| | location, opening_date, year |
| meeting | recid, url |
| meeting_note | recid, url |
+---------------+-----------------------------------------------+
"""
......@@ -64,7 +64,7 @@ class RecordConf(RecordPubli):
int:
"""
return self[u"meeting"][u"recid"]
return self[u"meeting_note"][u"recid"]
def conference_key(self):
"""The conference key used in the store.
......@@ -144,7 +144,7 @@ class RecordConf(RecordPubli):
is not defined.
"""
return self[u"meeting"][u"url"]
return self[u"meeting_note"][u"url"]
def conference_year(self):
"""The year of the conference.
......
# -*- coding: utf-8 -*-
"""test_05_RecordConf
Test all methods of the RecordConf class for a given proceeding:
Test specific methods of the RecordConf class for ::
http://cds.cern.ch/record/1411352.
(same as http://inspirehep.net/record/1089237)
......
# -*- coding: utf-8 -*-
"""test_06_RecordThesis
Test all methods of the RecordThesis class for a given proceeding:
Test specific methods of the RecordThesis class for::
http://cds.cern.ch/record/1632177
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment