Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
deb7c162
Unverified
Commit
deb7c162
authored
5 years ago
by
Tim O'Donnell
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #142 from openvax/safe_load
Safe load
parents
35fd95fa
8e3a51f4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+5
-6
5 additions, 6 deletions
.travis.yml
lint.sh
+1
-1
1 addition, 1 deletion
lint.sh
mhcflurry/downloads.py
+1
-1
1 addition, 1 deletion
mhcflurry/downloads.py
mhcflurry/version.py
+1
-1
1 addition, 1 deletion
mhcflurry/version.py
with
8 additions
and
9 deletions
.travis.yml
+
5
−
6
View file @
deb7c162
...
...
@@ -29,12 +29,12 @@ addons:
install
:
-
>
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
numpy scipy nose pandas matplotlib mkl-service
theano
numpy scipy nose pandas matplotlib mkl-service
-
source activate test-environment
-
pip install tensorflow pypandoc pylint
-
pip install tensorflow pypandoc pylint
'theano>=1.0.4'
-
pip install -r requirements.txt
-
pip install .
-
pip
install coveralls
-
pip
freeze
env
:
global
:
-
PYTHONHASHSEED=0
...
...
@@ -47,6 +47,5 @@ script:
# download data and models, then run tests
-
mhcflurry-downloads fetch
-
mhcflurry-downloads info
# just to test this command works
-
nosetests test -sv --with-coverage --cover-package=mhcflurry && ./lint.sh
after_success
:
coveralls
-
nosetests test -sv
-
./lint.sh
This diff is collapsed.
Click to expand it.
lint.sh
+
1
−
1
View file @
deb7c162
...
...
@@ -10,6 +10,6 @@ set -o errexit
find
.
-name
'*.py'
-not
-path
"./docs/*"
\
| xargs pylint
\
--errors-only
\
--disable
=
unsubscriptable-object,not-an-iterable,no-member
--disable
=
unsubscriptable-object,not-an-iterable,no-member
,assignment-from-no-return
echo
'Passes pylint check'
This diff is collapsed.
Click to expand it.
mhcflurry/downloads.py
+
1
−
1
View file @
deb7c162
...
...
@@ -50,7 +50,7 @@ def get_downloads_metadata():
"""
global
_METADATA
if
_METADATA
is
None
:
_METADATA
=
yaml
.
load
(
resource_string
(
__name__
,
"
downloads.yml
"
))
_METADATA
=
yaml
.
safe_
load
(
resource_string
(
__name__
,
"
downloads.yml
"
))
return
_METADATA
...
...
This diff is collapsed.
Click to expand it.
mhcflurry/version.py
+
1
−
1
View file @
deb7c162
__version__
=
"
1.2.
3
"
__version__
=
"
1.2.
4
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment