Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for timestring with colon in ~Well section #420

Merged

Conversation

dcslagel
Copy link
Collaborator

@dcslagel dcslagel commented Feb 3, 2021

Description

This commit add a test case for issue #419 "Colons in date formats for STRT/STOP confuse parser"

The test case is tests/test_read_header_line.py::test_time_str_and_colon_in_desc_2

Test Notes:

This test case passes with Python 3.9.1 with Lasio 0.28.
It properly parses the time string to the value field:
{'name': 'STRT', 'unit': 'DateTime', 'value': '2012-09-16T07:44:12-05:00', 'descr': 'START DEPTH'}

Let me know if this change could be accepted (or rejected) or
needs some additional changes to be approved and merged.

Thank you,
DC

@kinverarity1 kinverarity1 merged commit 817fb82 into kinverarity1:master Feb 5, 2021
@dcslagel dcslagel deleted the add-test-case-for-time-value branch February 5, 2021 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants