Skip to content

Commit

Permalink
Cleanup obsolete testfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Attolight-NTappy committed Jul 1, 2024
1 parent d541780 commit e674433
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions rsciio/digitalsurf/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2382,14 +2382,14 @@ def file_writer(
set_comments : str , default = 'auto'
Whether comments should be a simplified version original_metadata ('auto'),
the raw original_metadata dictionary ('raw'), skipped ('off'), or supplied
by the user as an additional kwarg ('custom').
by the user as an additional kwarg ('custom').
is_special : bool , default = False
If True, NaN values in the dataset or integers reaching the boundary of the
signed int-representation are flagged as non-measured or saturating,
respectively. If False, those values are not flagged (converted to valid points).
signed int-representation are flagged as non-measured or saturating,
respectively. If False, those values are not flagged (converted to valid points).
compressed : bool, default =True
If True, compress the data in the export file using zlib. Can help dramatically
reduce the file size.
reduce the file size.
comments : dict, default = {}
Set a custom dictionnary in the comments field of the exported file.
Ignored if set_comments is not set to 'custom'.
Expand Down
Binary file removed rsciio/tests/data/digitalsurf/test_isurface.sur
Binary file not shown.
1 change: 0 additions & 1 deletion rsciio/tests/registry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
'digitalmicrograph/test_stackbuilder_imagestack.dm3' 41070d0fd25a838a504f705e1431735192b7a97ca7dd15d9328af5e939fe74a2
'digitalsurf/test_RGB.sur' 802f3d915bf9feb7c264ef3f1242df35033da7227e5a7a5924fd37f8f49f4778
'digitalsurf/test_RGBSURFACE.sur' 15e8b345cc5d67e7399831c881c63362fd92bc075fad8d763f3ff0d26dfe29a2
'digitalsurf/test_isurface.sur' 6ed59a9a235c0b6dc7e15f155d0e738c5841cfc0fe78f1861b7e145f9dcaadf4
'digitalsurf/test_profile.pro' fdd9936a4b5e205b819b1d82813bb21045b702b4610e8ef8d1d0932d63344f6d
'digitalsurf/test_spectra.pro' ea1602de193b73046beb5e700fcac727fb088bf459edeec3494b0362a41bdcb1
'digitalsurf/test_spectral_map.sur' f9c863e3fd61be89c3b68cef6fa2434ffedc7e486efe2263c2241109fa58c3f7
Expand Down
4 changes: 2 additions & 2 deletions rsciio/tests/test_digitalsurf.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def test_load_spectrum():


def test_load_surface():
fname = TEST_DATA_PATH / "test_isurface.sur"
fname = TEST_DATA_PATH / "test_surface.sur"
s = hs.load(fname)
md = s.metadata
assert md.Signal.quantity == "CL Intensity (a.u.)"
Expand Down Expand Up @@ -580,7 +580,7 @@ def test_get_comment_dict():
"test_spectral_map_compressed.sur",
"test_spectrum.pro",
"test_spectrum_compressed.pro",
"test_isurface.sur",
"test_surface.sur",
"test_RGBSURFACE.sur",
],
)
Expand Down

0 comments on commit e674433

Please sign in to comment.