Skip to content

Commit

Permalink
bugfix with "stride" argument type.
Browse files Browse the repository at this point in the history
  • Loading branch information
tubiana committed Sep 10, 2020
1 parent 84014bd commit fbba180
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

MAJOR = 4
MINOR = 7
PATCH = 2
PATCH = 3
VERSION = "{}.{}.{}".format(MAJOR, MINOR, PATCH)

with open("ttclust/version.py", "w") as f:
Expand Down
2 changes: 1 addition & 1 deletion ttclust/ttclust.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def parseArg():
pass
arguments.add_argument('-f', "--traj", help="trajectory file(s). You can give a list of files.", required=True, nargs='+')
arguments.add_argument('-t', '--top', help="topfile", default=None)
arguments.add_argument('-s', '--stride', help="stride (read every Xth frames", default=1)
arguments.add_argument('-s', '--stride', help="stride (read every Xth frames", default=1,type = int)
arguments.add_argument('-l', '--logfile', help="logfile (default : clustering.log). The "
"name of your output file will be the basename (name before the extention "
"of this logfile", default="clustering")
Expand Down
2 changes: 1 addition & 1 deletion ttclust/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.7.2'
__version__ = '4.7.3'

0 comments on commit fbba180

Please sign in to comment.