Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
7474a019
Commit
7474a019
authored
Jan 13, 2021
by
LE GAC Renaud
Browse files
Polish RecordHepPubli
parent
2da0ac9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
modules/store_tools/recordheppubli.py
modules/store_tools/recordheppubli.py
+1
-18
No files found.
modules/store_tools/recordheppubli.py
View file @
7474a019
...
...
@@ -61,23 +61,7 @@ class RecordHepPubli(dict, AuthorsMixin, PublicationInfoMixin):
# the authors of my institutes signing the record
# string containing a list of name separated by a comma
self
.
my_authors
=
""
@
staticmethod
def
_oai_url
(
value
):
"""Build the Open Archive Initiative URL.
Args:
value (str):
OAI identifier, *e.g.* ``oai:host:id``
Returns:
str:
the pattern of the string is `https://host/api/literature/id`
The string is empty when it is not defined or when the value
is not well formed.
"""
self
.
my_authors
=
None
def
_process_authors
(
self
):
"""Convert authors information into DataFrame:
...
...
@@ -329,7 +313,6 @@ class RecordHepPubli(dict, AuthorsMixin, PublicationInfoMixin):
Returns:
str:
* the pattern is ``http://inspirehep.net/record/id``
* empty string when it is not defined
"""
recid
=
self
[
"control_number"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment