Skip to content

Commit

Permalink
Formatting and Readme
Browse files Browse the repository at this point in the history
Fixed formatting according to black and fixed url to crema logo in readme file
  • Loading branch information
donnyyy777 committed Dec 8, 2020
1 parent dd83678 commit 919714e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="https://raw.githubusercontent.com/Noble-Lab/crema/master/docs/static/crema_logo_caramel_light.png" width=300>
<img src="https://github.com/Noble-Lab/crema/blob/master/docs/_static/crema_logo_caramel_light.png" width=300>

Confidence Estimation for Mass Spectrometry Proteomics

Expand Down
4 changes: 3 additions & 1 deletion crema/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def _configure_parser():
"More documentation and examples: <link tbd>"
)

parser = argparse.ArgumentParser(description=desc,)
parser = argparse.ArgumentParser(
description=desc,
)

parser.add_argument(
"input_files",
Expand Down
28 changes: 25 additions & 3 deletions tests/test_crema_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,18 @@
True,
False,
],
"extras": ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j",],
"extras": [
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i",
"j",
],
}
)

Expand Down Expand Up @@ -217,7 +228,18 @@
testframe_single_noncrux_data = pd.DataFrame(
{
"scan": [1, 2, 3, 4, 5, 1, 2, 3, 4, 5],
"p-value": [0.7, 0.4, 0.1, 0.55, 0.25, 0.6, 0.2, 0.7, 0.56, 0.3,],
"p-value": [
0.7,
0.4,
0.1,
0.55,
0.25,
0.6,
0.2,
0.7,
0.56,
0.3,
],
"target": [
True,
False,
Expand Down Expand Up @@ -341,7 +363,7 @@ def test_single_int_targets_dataset_class():
A :py:class:`~crema.dataset.PsmDataset` object
containing the PSM data from the given tab-delimited file.
"""
psm = read_file(["data/single_int_targets.csv"],)
psm = read_file(["data/single_int_targets.csv"])
return psm


Expand Down

0 comments on commit 919714e

Please sign in to comment.