Changeset 0c14082


Ignore:
Timestamp:
Sep 22, 2017, 9:39:00 AM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, debian/bullseye, debian/jessie, master
Children:
91626d5
Parents:
92a28c4
Message:

Fixed log-converter to process water depth during csv conversion correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/python/bin/gnuboat-log-converter

    r92a28c4 r0c14082  
    180180    parser.add_argument('-f', '--format', dest='output_format', metavar='output_format', type=str,
    181181                        help='Format of the output file.', choices=formats, default='CSV')
    182     parser.add_argument('-i', '--ignore-errors', dest='errors_ignore', metavar='errors_ignore', type=bool,
    183                         help='Ignore any errors reading the log file', default=False)
     182    parser.add_argument('-i', '--ignore-errors', dest='errors_ignore', action='store_false',
     183                        help='Ignore any errors reading the log file')
    184184    parser.add_argument('input_file', metavar='input_file_path', type=str,
    185185                        help='File to be converted (input)')
Note: See TracChangeset for help on using the changeset viewer.