Skip to content

Commit

Permalink
HSP2_Driver.py -- updates to HSP2_Driver to be compatible with recent…
Browse files Browse the repository at this point in the history
… I/O abstraction enhancement
  • Loading branch information
PaulDudaRESPEC committed Jan 14, 2022
1 parent 8176be9 commit e94006c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion HSP2_Driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@

if file_ext.upper() == ".H5":
from HSP2.main import main
main(filename, saveall=True, jupyterlab=False)
from HSP2IO.hdf import HDF5
from HSP2IO.io import IOManager

hdf5_instance = HDF5(filename)
io_manager = IOManager(hdf5_instance)

main(io_manager, saveall=True, jupyterlab=False)
# main('test.h5', saveall=True)


Expand Down

0 comments on commit e94006c

Please sign in to comment.