-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update striplog.py Simplifying and extending `from_csv`. Initial test uses `np.genfromtext` internally. Explicitly expects to be told which columns the `top`, `base` and/or `thickness` are in. Other columns will be added to a dictionary from which the intervals will be created. Addresses, but does not entirely close #128 * Update `from_csv` Expanded docs. The will need to be restyled to match the rest of the library, but this will work for now. Added a series of FutureWarnings for args that we want to remove going forward. Added some new args. * Updated `from_csv` Updated docs and args to be the same. Changed version for deprecation to 0.9.1. * Updated test suite Changed tests to use new `from_csv` method. The tests were passing in strings. These no need to be explicitly converted to `io.StringIO` objects, along with the `names=True`. * Updated `from_csv()` Removed extra args. These are not currently being used, but we might want them later. No need for them for now. * Remove old `from_csv` Removed old `from_csv` function - it is no longer being used anyway.
- Loading branch information
Showing
3 changed files
with
140 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters