Skip to content
Browse files

Fix epydoc warning, use doctest style

  • Loading branch information...
1 parent 4912211 commit c4e6bf420e432f2a1979cf8f6a51fd056a5f9da2 @peterjc peterjc committed
Showing with 8 additions and 10 deletions.
  1. +8 −10 Bio/Phylo/Applications/_Fasttree.py
View
18 Bio/Phylo/Applications/_Fasttree.py
@@ -34,16 +34,14 @@ class FastTreeCommandline(AbstractCommandline):
doi:10.1371/journal.pone.0009490.
Example usage:
- ######
- import _Fasttree
-
- fasttree_exe = "C:\\FasttreeWin32\\fasttree.exe"
- cmd = _Fasttree.FastTreeCommandline(fasttree_exe, input='C:\\Input\\ExampleAlignment.fsa', out='C:\\Output\\ExampleTree.tree')
- print cmd
- out, err = cmd()
- print out
- print err
- ######
+
+ >>> import _Fasttree
+ >>> fasttree_exe = r"C:\FasttreeWin32\fasttree.exe"
+ >>> cmd = _Fasttree.FastTreeCommandline(fasttree_exe, input=r'C:\Input\ExampleAlignment.fsa', out='C:\Output\ExampleTree.tree')
+ >>> print cmd
+ >>> out, err = cmd()
+ >>> print out
+ >>> print err
Usage advice:
the only parameters needed are (fasttree_exe, input='<InputFile>' out='<OutputFile>')

0 comments on commit c4e6bf4

Please sign in to comment.
Something went wrong with that request. Please try again.