Skip to content

Commit

Permalink
Change verbose from None to False
Browse files Browse the repository at this point in the history
  • Loading branch information
jvsguerra committed Dec 18, 2020
1 parent 593cfb6 commit bbfab44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ The optional arguments are:
$ pyKVFinder <.pdb> --verbose
:Default: ``None``
:Default: ``False``

* ``-b <str>`` or ``--base_name <str>``: A prefix for output files.

Expand Down
2 changes: 1 addition & 1 deletion pyKVFinder/argparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def add_usage(self, usage, actions, groups, prefix=None):
parser.add_argument("-v", "--verbose",
help="Print extra information to standard output.",
action="store_true",
default=None)
default=False)
parser.add_argument('--version',
action='version',
version=f'{__name__} v{__version__}',
Expand Down
6 changes: 2 additions & 4 deletions src/grid.i
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@
%apply (double* ARGOUT_ARRAY1, int DIM1) {(double* avgh, int ncav)}

/* Origin coordinates */
%apply (double* INPLACE_ARRAY1, int DIM1) {(double *reference, int ndims
)}
%apply (double* INPLACE_ARRAY1, int DIM1) {(double *reference, int ndims)}

/* X-axis vertice coordinates */
%apply (double* INPLACE_ARRAY1, int DIM1) {(double *P2, int nndims
)}
%apply (double* INPLACE_ARRAY1, int DIM1) {(double *P2, int nndims)}

/* PDB coordinates */
%apply (double* INPLACE_ARRAY2, int DIM1, int DIM2) {(double *atoms, int natoms, int xyzr)}
Expand Down

0 comments on commit bbfab44

Please sign in to comment.