Skip to content

Commit

Permalink
fix select app default altloc
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 2, 2023
1 parent e5d0c8d commit 8ecba6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/apps/prody_apps/prody_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def prody_select(selstr, *pdbs, **kwargs):
prefix = kwargs.get('prefix', None)
suffix = kwargs.get('suffix', '_selected')
output = kwargs.get('output', None)
altloc = kwargs.get('altloc', None)
altloc = kwargs.get('altloc', 'all')

for pdb in pdbs:
pdb = parsePDB(pdb, altloc=altloc)
Expand Down Expand Up @@ -83,7 +83,7 @@ def addCommand(commands):
type=str, help=('output filename prefix (default: PDB filename)'))

group.add_argument('-L', '--altloc', dest='altloc', metavar='STR',
type=str, help=('altloc (default: None (take all))'))
type=str, default='all', help=('altloc (default: %(default)s)'))

group.add_argument('-x', '--suffix', dest='suffix', metavar='STR',
type=str, default='_selected',
Expand Down

0 comments on commit 8ecba6a

Please sign in to comment.