Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
1.6.3-beta
Browse files Browse the repository at this point in the history
Minor
------
- Address security patch (update urllib3 to v1.24.3)
- Revert Metapub to v0.4.4 and Eutils to v0.5.0
- Utility bash script for deployment update
  • Loading branch information
afrubin committed Aug 7, 2019
2 parents 59f5b98 + 8ddf46d commit 7c75ebe
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion data/main/site_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"md_privacy": "",
"md_terms": "",
"md_usage_guide": "",
"version": "1.6.2-beta"
"version": "1.6.3-beta"
}
2 changes: 1 addition & 1 deletion metadata/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def format_reference_html(self):
self.identifier
)
else:
reference = article.citation
reference = article.citation_html
return reference

def save(self, *args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion metadata/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def test_format_reference_url_hyperlinks_references(self):
pubmed = PubmedIdentifierFactory(reference_html=None)
fetch = metapub.PubMedFetcher()
article = fetch.article_by_pmid(pubmed.identifier)
self.assertEqual(pubmed.reference_html, article.citation)
self.assertEqual(pubmed.reference_html, article.citation_html)

def test_save_sets_dbname_as_PubMeD(self):
pm = PubmedIdentifierFactory()
Expand Down
8 changes: 3 additions & 5 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ social-auth-app-django==2.1.0
tablib==0.13.0
factory-boy==2.11.1
celery==4.1.1
flower==0.9.2
pypandoc==1.4
selenium>=3.4.3
Faker==0.8.15
coverage==4.5.1
idutils==1.1.0
urllib3==1.23
hg+https://bitbucket.org/metapub/metapub@default
urllib3==1.24.3
hg+https://bitbucket.org/metapub/metapub@6fe5735
git+https://github.com/VariantEffect/hgvs-patterns.git
lxml==4.3.5
eutils
eutils==0.5.0
psycopg2-binary
pandas
numpy
4 changes: 3 additions & 1 deletion requirements/local.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
-r base.txt
-r base.txt

selenium>=3.4.3
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
if [ "$1" != "" ]; then
settings="--settings=$1"
settings="--settings=settings.$1"
else
settings="--settings=settings.production"
fi

if [ "$2" != "" ]; then
requirements="$2"
requirements="$2.txt"
else
requirements="production.txt"
fi
Expand Down

0 comments on commit 7c75ebe

Please sign in to comment.