Skip to content

Commit

Permalink
include "typer[all]" dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpastor97 committed Mar 5, 2024
1 parent 2ed692e commit b7c3ec8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
25 changes: 3 additions & 22 deletions bin/prolint2
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class OrderCommands(TyperGroup):
# Creating the parser
prolint2 = typer.Typer(
help="[blue]Command-line version of the ProLint v.2 library.[/blue] :sparkles:",
epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] :stuck_out_tongue_winking_eye:",
epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] ",
rich_markup_mode="rich",
add_completion=False,
cls=OrderCommands,
Expand All @@ -46,9 +46,7 @@ prolint2 = typer.Typer(


# creating the run command
@prolint2.command(
epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] :stuck_out_tongue_winking_eye:"
)
@prolint2.command(epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] ")
def run(
structure: Annotated[
pathlib.Path,
Expand Down Expand Up @@ -108,9 +106,7 @@ def run(


# creating the dashboard command
@prolint2.command(
epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] :stuck_out_tongue_winking_eye:"
)
@prolint2.command(epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] ")
def dashboard(
structure: Annotated[
pathlib.Path,
Expand Down Expand Up @@ -188,20 +184,5 @@ def dashboard(
sys.exit()


@prolint2.command(
epilog="[blue]Have fun analyzing lipid-protein interactions![/blue] :stuck_out_tongue_winking_eye:"
)
def plot(
contacts: Annotated[
pathlib.Path,
typer.Argument(
show_default=False,
help='path to the structure/topology file (E.g.: "coordinates.gro").',
),
],
):
"""[blue]ProLint v.2: Plotting paper quality graphs to visualize lipid-protein interactions.[/blue] :sparkles:"""


if __name__ == "__main__":
prolint2()
1 change: 0 additions & 1 deletion prolint2/server/chord_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python

from inspect import ArgSpec
import numpy as np
from itertools import combinations
from prolint2.server.utils import calculate_contact_intervals
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"pandas",
"mdanalysis",
"bottle",
"typer",
"typer[all]",
"requests",
], # Required packages, pulls from pip if needed; do not use for Conda deployment
platforms=[
Expand Down

0 comments on commit b7c3ec8

Please sign in to comment.