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
8c4055a0
Commit
8c4055a0
authored
5 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
ef428b7d
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+2
-0
2 additions, 0 deletions
.travis.yml
docs/commandline_tutorial.rst
+1
-1
1 addition, 1 deletion
docs/commandline_tutorial.rst
test/test_class1_presentation_predictor.py
+2
-2
2 additions, 2 deletions
test/test_class1_presentation_predictor.py
with
5 additions
and
3 deletions
.travis.yml
+
2
−
0
View file @
8c4055a0
dist
:
bionic
language
:
python
python
:
-
"
3.6"
...
...
@@ -17,6 +18,7 @@ before_install:
# Useful for debugging any issues with conda
-
conda info -a
-
free -m
-
make -v
addons
:
apt
:
packages
:
...
...
This diff is collapsed.
Click to expand it.
docs/commandline_tutorial.rst
+
1
−
1
View file @
8c4055a0
...
...
@@ -161,7 +161,7 @@ training data. The data we use for our released predictors can be downloaded wit
It looks like this:
.. command-output::
bzcat "$(mhcflurry-downloads path data_curated)/curated_training_data.
no_mass_spec.
csv.bz2" | head -n 3
bzcat "$(mhcflurry-downloads path data_curated)/curated_training_data.csv.bz2" | head -n 3
:shell:
:nostderr:
...
...
This diff is collapsed.
Click to expand it.
test/test_class1_presentation_predictor.py
+
2
−
2
View file @
8c4055a0
...
...
@@ -91,13 +91,13 @@ def test_basic():
alleles
=
experiment_to_alleles
,
n_flanks
=
test_df
.
n_flank
.
values
,
c_flanks
=
test_df
.
c_flank
.
values
,
verbose
=
2
)
verbose
=
2
)
.
presentation_score
.
values
test_df
[
"
prediction2
"
]
=
predictor
.
predict
(
peptides
=
test_df
.
peptide
.
values
,
sample_names
=
test_df
.
sample_id
.
values
,
alleles
=
experiment_to_alleles
,
verbose
=
2
)
verbose
=
2
)
.
presentation_score
.
values
add_prediction_cols
(
test_df
,
predictor
)
...
...
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