Skip to content

Commit

Permalink
sam ls: do not print details of sequences in case of --script option
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement Champetier committed Mar 13, 2018
1 parent 03ad407 commit 36fc4ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion applications/sam/sam_ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ def _printItem(self, item, args, level):
indentTree += '|__ '

# display
toPrint = detailed + filePath + detailedSequence
toPrint = detailed + filePath
if not args.script:
toPrint += detailedSequence

# if first level or no tree formatting
if level == 0 or args.script:
puts(toPrint.format())
Expand Down

0 comments on commit 36fc4ca

Please sign in to comment.