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
0d72da05
Commit
0d72da05
authored
7 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
Update travis and package requirements
parent
2b746b69
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+1
-3
1 addition, 3 deletions
.travis.yml
README.md
+0
-13
0 additions, 13 deletions
README.md
requirements.txt
+2
-6
2 additions, 6 deletions
requirements.txt
setup.py
+2
-3
2 additions, 3 deletions
setup.py
with
5 additions
and
25 deletions
.travis.yml
+
1
−
3
View file @
0d72da05
...
...
@@ -29,7 +29,7 @@ addons:
install
:
-
>
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
numpy scipy nose pandas matplotlib h5py
cvxopt
numpy scipy nose pandas matplotlib h5py
-
source activate test-environment
-
pip install pypandoc pylint
-
pip install -r requirements.txt
...
...
@@ -45,8 +45,6 @@ env:
script
:
# download data and models, then run tests
-
mhcflurry-downloads fetch
-
mhcflurry-downloads fetch models_class1_allele_specific_ensemble
-
mhcflurry-downloads fetch models_class1_allele_specific_single
-
mhcflurry-downloads info
# just to test this command works
-
nosetests test --with-coverage --cover-package=mhcflurry && ./lint.sh
after_success
:
...
...
This diff is collapsed.
Click to expand it.
README.md
+
0
−
13
View file @
0d72da05
...
...
@@ -100,19 +100,6 @@ early stopping. All models use the same [architecture](downloads-generation/mode
predictions are taken to be the geometric mean of the nM binding affinity
predictions of the individual models. The training script is
[
here
](
downloads-generation/models_class1/GENERATE.sh
)
.
## Problems and Solutions
### undefined symbol
If you get an error like:
```
ImportError: _CVXcanon.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev
```
Try installing cvxpy using conda instead of pip.
## Environment variables
The path where MHCflurry looks for model weights and data can be set with the
`MHCFLURRY_DOWNLOADS_DIR`
environment variable. This directory should contain subdirectories like "models_class1".
\ No newline at end of file
This diff is collapsed.
Click to expand it.
requirements.txt
+
2
−
6
View file @
0d72da05
six
numpy
>= 1.11
pandas
>=0.13.1
Keras
==2.0.4
appdirs
theano
keras
scikit-learn
h5py
typechecks
joblib
cherrypy
bottle
six
mhcnames
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
3
View file @
0d72da05
...
...
@@ -49,15 +49,14 @@ with open('mhcflurry/__init__.py', 'r') as f:
if
__name__
==
'
__main__
'
:
required_packages
=
[
'
six
'
,
'
numpy>=1.11
'
,
'
pandas>=0.13.1
'
,
'
Keras==2.0.4
'
,
'
appdirs
'
,
'
theano
'
,
'
keras
'
,
'
scikit-learn
'
,
'
h5py
'
,
'
typechecks
'
,
'
six
'
,
'
mhcnames
'
,
]
if
PY2
:
...
...
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