Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KseniaBastrakova committed Oct 5, 2020
2 parents db542f9 + 7965347 commit 74a007a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions openPMD_to_gdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def hdf_to_gdf(hdf_file_directory, gdf_file_directory, max_cell_size, species, g
species = ''

series_hdf = openpmd_api.Series(hdf_file_directory, openpmd_api.Access_Type.read_only)
print('Destination .gdf directory not specified. Defaulting to ' + gdf_file_directory)

with open(gdf_file_directory, 'wb') as gdf_file:
hdf_file_to_gdf_file(gdf_file, series_hdf, max_cell_size, species, grid_size)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# openPMD_to_gdf.py, gdf_to_openPMD.py
openpmd-api>=0.10.3
openpmd-api>=0.12.0,<0.13.0
# gdf_to_openPMD.py
matplotlib>=3.0.0
# OpenPMD_add_patches.py
Expand Down

0 comments on commit 74a007a

Please sign in to comment.