Jeremy - I made some changes based on your comments, and tried to make
another pull request for those changes, and got this message:

Pull request creation failed. Validation failed: A pull request
already exists for mhearne-usgs:refactor_chop.

Do I need to make another branch for these fixes?

--Mike

On Tue, Jul 16, 2013 at 2:56 PM, Jeremy Fee <notifications@github.com> wrote:
> In chop.py:
>
>>          sys.exit(0)
>>
>>      try:
>> -        if options.startTime is not None:
>> -            clipstart =
>> utcdatetime.UTCDateTime(options.startTime,iso8601=True)
>> -        if options.endTime is not None:
>> -            clipend =
>> utcdatetime.UTCDateTime(options.endTime,iso8601=True)
>> +        if arguments.outFolder is None:
>> +            outfolder = os.getcwd()
>> +        else:
>> +            outfolder = arguments.outFolder
>> +        if arguments.startTime is not None:
>> +            clipstart =
>> utcdatetime.UTCDateTime(arguments.startTime,iso8601=True)
>
> If you add type=utcdatetime.UTCDateTime to the argparse config, you could
> skip manual parsing; as filter.py does.
>
> —
> Reply to this email directly or view it on GitHub.