Skip to content

Commit

Permalink
Issue #52: Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattClarkson committed Jul 1, 2020
1 parent 26ec7b8 commit e3ca811
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions sksurgerybard/ui/bard_procrustes_app.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# coding=utf-8

"""An interface to surgerycore-procrustes for the BARD application"""
""" Calls sksurgerycore Orthogonal Procrustes for the BARD application. """

import numpy as np
from sksurgerycore.algorithms.procrustes import orthogonal_procrustes


def run_procrustes(fixed_points_file, moving_points_file):
""" Shows how to use surgery-cores procrustes
function, we could get the students to implement this?
"""

Shows how to use sksurgerycore's orthogonal procrustes
function. We could get the students to implement this?
"""
moving_points = np.loadtxt(moving_points_file)
fixed_points = np.loadtxt(fixed_points_file)

Expand Down
9 changes: 4 additions & 5 deletions sksurgerybard/ui/bard_procrustes_command_line.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8

"""Command line processing"""
""" CLI for Point Based Registration (Orthogonal Procrustes). """

import argparse

Expand All @@ -9,13 +9,12 @@


def main(args=None):
"""Entry point for scikit-surgerybard application"""

""" Entry point for bardProcrustes application. """

parser = argparse.ArgumentParser(
description='Basic Augmented Reality Demo - '
'Orthogonal Procustes')

# ADD POSITIONAL ARGUMENTS
'Orthogonal Procrustes')

parser.add_argument("-f", "--fixed",
required=True,
Expand Down

0 comments on commit e3ca811

Please sign in to comment.