Skip to content

Commit

Permalink
Remove deprecated attribute EIDS
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-E-Rose committed May 25, 2019
1 parent 85c3098 commit 6c52f6a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions scopus/scopus_search.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
import warnings
from collections import namedtuple

from scopus.classes import Search
from scopus.utils import listify


class ScopusSearch(Search):
@property
def EIDS(self):
"""Outdated property, will be removed in a future release. Please use
get_eids() instead. For details see
https://scopus.readthedocs.io/en/latest/tips.html#migration-guide-to-0-x-to-1-x.
"""
text = "Outdated property, will be removed in a future release. "\
"Please use get_eids() instead. For details see "\
"https://scopus.readthedocs.io/en/latest/tips.html#"\
"migration-guide-to-0-x-to-1-x."
warnings.warn(text, DeprecationWarning)
return self.get_eids()

@property
def results(self):
"""A list of namedtuples in the form (eid doi pii pubmed_id title
Expand Down

0 comments on commit 6c52f6a

Please sign in to comment.