diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-06-23 11:42:20 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-06-23 11:42:20 -0700 |
commit | c7c51a5e6fb17f04a96b2c7536c6acccf929865f (patch) | |
tree | 3e153bc402984fe632693905022533d41545f75b | |
parent | 9f53eb4c4fd4030965fe004184c803b41fa49b04 (diff) | |
download | chocula-c7c51a5e6fb17f04a96b2c7536c6acccf929865f.tar.gz chocula-c7c51a5e6fb17f04a96b2c7536c6acccf929865f.zip |
Revert "EZB color not a good proxy for OA status"
I think this actually is Ok in the context of identifying longtail
journals. We don't set the `is_oa` flag in release metdata based on this
chocula flag.
This reverts commit 9ba5b2e307c7f61f60304ba104bf3cc8424b7163.
-rw-r--r-- | chocula/database.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chocula/database.py b/chocula/database.py index a27a560..4606212 100644 --- a/chocula/database.py +++ b/chocula/database.py @@ -501,6 +501,8 @@ class ChoculaDatabase: out["is_oa"] = True if irow["slug"] == "ezb": ezb_extra = json.loads(irow["extra"]) + if ezb_extra["ezb_color"] == "green": + out["is_oa"] = True if irow["slug"] == "sherpa_romeo": extra = json.loads(irow["extra"]) if extra.get("sherpa_romeo"): |