Skip to content

Commit a8f3e19

Browse files
authored
Merge pull request #10 from MannLabs/development
Add _check_if_all_dataframes_have_the_same_columns method to Loader class for validating dataframe consistency. Enhanced data handling by logging missing columns and removing them from MS1 and MS2 dataframes as needed.
2 parents 7b9fad5 + 3c31203 commit a8f3e19

61 files changed

Lines changed: 610 additions & 4204 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,5 @@ nbs/directlfq/
142142
weights
143143
nbs/
144144
pkl
145-
models
145+
models
146+
submission

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"-s",
55
"./tests",
66
"-p",
7-
"*test*.py"
7+
"test*.py"
88
],
99
"python.testing.pytestEnabled": false,
1010
"python.testing.unittestEnabled": true,

README.md

Lines changed: 41 additions & 58 deletions
Large diffs are not rendered by default.

fragselect.png

649 KB
Loading
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!python
22

3-
__project__ = "selectlfq"
3+
__project__ = "fragselect"
44
__version__ = "0.0.1"
55
__license__ = "Apache"
66
__description__ = "An open-source Python package of the AlphaPept ecosystem"
77
__author__ = "Mann Labs"
88
__author_email__ = "opensource@alphapept.com"
9-
__github__ = "https://github.com/MannLabs/selectlfq"
9+
__github__ = "https://github.com/MannLabs/fragselect"
1010
__keywords__ = [
1111
"bioinformatics",
1212
"software",
@@ -28,7 +28,7 @@
2828
"Topic :: Scientific/Engineering :: Bio-Informatics",
2929
]
3030
__console_scripts__ = [
31-
"selectlfq=selectlfq.cli:run",
31+
"fragselect=fragselect.cli:run",
3232
]
3333
__urls__ = {
3434
"Mann Labs at MPIB": "https://www.biochem.mpg.de/mann",

selectlfq/cli.py renamed to fragselect/cli.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import click
66

77
# local
8-
import selectlfq
8+
import fragselect
99

1010

1111
@click.group(
@@ -15,18 +15,11 @@
1515
invoke_without_command=True,
1616
)
1717
@click.pass_context
18-
@click.version_option(selectlfq.__version__, "-v", "--version")
18+
@click.version_option(fragselect.__version__, "-v", "--version")
1919
def run(ctx, **kwargs):
20-
name = f"selectLFQ {selectlfq.__version__}"
20+
name = f"fragselect {fragselect.__version__}"
2121
click.echo("*" * (len(name) + 4))
2222
click.echo(f"* {name} *")
2323
click.echo("*" * (len(name) + 4))
2424
if ctx.invoked_subcommand is None:
2525
click.echo(run.get_help(ctx))
26-
27-
28-
@run.command("gui", help="Start graphical user interface.")
29-
def gui():
30-
import selectlfq.gui
31-
32-
selectlfq.gui.run()

0 commit comments

Comments
 (0)