Commit 6fcfceaf authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish import and docstring of record.py and recordpubli.py

parent 17acbd9c
......@@ -7,7 +7,8 @@ from .base import OAI, OAI_URL, REG_OAI
class Record(dict):
"""The base class for JSON record.
"""Base class for JSON record coming from cds.cern.ch or old.inspirehep.net.
It is a dictionary with the following structure::
record[field][subfield] = value
......
......@@ -5,9 +5,9 @@ import numpy as np
import re
from store_tools import (ARXIV,
ARXIV_PDF,
REG_ARXIV_NUMBER,
REG_YEAR)
ARXIV_PDF,
REG_ARXIV_NUMBER,
REG_YEAR)
from .exception import RecordException
from filters import CLEAN_COLLABORATION
......
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