re-writing dlis file opened with dlisio - helper function and example#45
Conversation
|
Looks great to me! Just a small thing, would you mind fixing the type hinting and formatting? I've re-run the mypy and flake8 jobs, so they should now show a list of issues. |
Should be clean now! In import_from_dlisio's |
|
Hi @ltbrizolara , apologies for the (Easter) delay and thanks for the fixes! Yeah, the |
No problem! ;) In fact I had mypy on standard settings, not on the mypy.ini, thanks! It is passing now! |
|
Awesome, thanks so much! |
Hi,
I added a helper /utils/import_from_dlisio.py - Passes all DLIS data of a file read with dlisio to a dliswriter DLISFile object.
minimaloption, to pass along just the logical files, origins, frames and channels. This is to facilitate for users that are solely interested in the numeric log data and could be stopped by problems in the large amount of other objects of the DLIS specification, that can cause problems.Also added an examples/create_dlis_from_dlisio.py showing how to use it and comparing the log numeric data of the input and output files.