File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,17 @@ def test_read_si2(self):
8585
8686 @pytest .mark .skipif (netCDF4 is None , reason = "Requires Netcdf4" )
8787 def test_read_fe (self ):
88+ import h5py
89+
90+ print ("\n === netCDF4 / HDF5 diagnostic info ===" )
91+ print (f"netCDF4 version: { netCDF4 .__version__ } " )
92+ print (f"h5py version: { h5py .__version__ } " )
93+ print (f"HDF5 C library version: { h5py .version .hdf5_version } " )
94+ print (f"NumPy version: { np .__version__ } " )
95+ print (f"Current working directory: { os .getcwd ()} " )
96+ print (f"Files in cwd: { os .listdir ('.' )} " )
97+ print ("======================================\n " )
98+
8899 with tarfile .open (f"{ TEST_DIR } /Fe_magmoms_collinear_GSR.tar.xz" , mode = "r:xz" ) as t :
89100 # TODO: remove attr check after only 3.12+
90101 if hasattr (tarfile , "data_filter" ):
You can’t perform that action at this time.
0 commit comments