Skip to content

Commit

Permalink
Removed store_true from peptide_tools_master keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
frolov-pchem committed Feb 4, 2022
1 parent ab914dc commit d969dda
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*/__pycache__
*.png
*.swp
11 changes: 9 additions & 2 deletions peptide_tools_master/peptide_tools_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def arg_parser():
### rdkit_pI.py keys
#parser.add_argument("--print_fragment_pkas", dest="l_print_fragment_pkas", help="Print out fragments with corresponding pKas used in pI calcution", default='')
#parser.add_argument("--print_pka_set", dest="l_print_pka_set", help="Print out stored pka sets explicitly.", default='')
parser.add_argument("--print_fragment_pkas",default=False, action='store_true',dest="l_print_fragment_pkas", help="Print out fragments with corresponding pKas used in pI calcution")
parser.add_argument("--print_pka_set",default=False, action='store_true',dest="l_print_pka_set", help="Print out stored pka sets explicitly.")
parser.add_argument("--print_fragment_pkas",default="no", action='store',dest="l_print_fragment_pkas", help="Print out fragments with corresponding pKas used in pI calcution")
parser.add_argument("--print_pka_set",default="no", action='store',dest="l_print_pka_set", help="Print out stored pka sets explicitly.")

### pI_fasta.py keys
parser.add_argument("--ionized_Cterm", dest="ionized_Cterm", help="is C-terminus ionized [COO-]?", default=True)
Expand All @@ -63,6 +63,13 @@ def arg_parser():

args = parser.parse_args()

if args.l_print_pka_set == "yes": args.l_print_pka_set = True
else: args.l_print_pka_set = False

if args.l_print_fragment_pkas == "yes": args.l_print_fragment_pkas = True
else: args.l_print_fragment_pkas = False


return args


Expand Down

0 comments on commit d969dda

Please sign in to comment.