/[MITgcm]/MITgcm_contrib/mlosch/optim_m1qn3/plotfc.py
ViewVC logotype

Diff of /MITgcm_contrib/mlosch/optim_m1qn3/plotfc.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by mlosch, Wed May 9 09:46:25 2018 UTC revision 1.2 by mlosch, Wed May 9 11:36:59 2018 UTC
# Line 10  from getopt import gnu_getopt as getopt Line 10  from getopt import gnu_getopt as getopt
10  # parse command-line arguments  # parse command-line arguments
11  try:  try:
12      optlist,args = getopt(sys.argv[1:], ':', ['verbose'])      optlist,args = getopt(sys.argv[1:], ':', ['verbose'])
     print(len(args))  
13      assert len(args) == 1      assert len(args) == 1
14  except (AssertionError):  except (AssertionError):
15      sys.exit(__doc__)      sys.exit(__doc__)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22