Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Loading
Wellbore DDMS Data Loader
Commits
4e9b8150
Commit
4e9b8150
authored
Oct 25, 2021
by
Gregory Harris
Browse files
Remove redundant import
parent
52902235
Pipeline
#73706
passed with stage
in 4 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lasloader/commands/file_load.py
View file @
4e9b8150
import
json
from
pathlib
import
Path
from
knack.log
import
get_logger
from
lasloader.file_loader
import
LasParser
,
LocalFileLoader
,
FileUtilities
...
...
@@ -47,7 +46,6 @@ def convert(input_path: str, config_path: str, wellbore_id: str):
path
=
Path
(
file_path
)
writer
=
JsonToFile
()
logger
.
info
(
"Writing wellbore and well log records to JSON files."
)
writer
.
write
(
vars
(
wellbore_record
),
path
.
with_suffix
(
'.wellbore.json'
))
logger
.
warning
(
f
"Wellbore record file created:
{
path
.
with_suffix
(
'.wellbore.json'
)
}
"
)
writer
.
write
(
vars
(
welllog_record
),
path
.
with_suffix
(
'.welllog.json'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment