Skip to content

Commit c010919

Browse files
rprosperoDrPaulSharp
authored andcommitted
Use file name as file id
1 parent 168c44c commit c010919

5 files changed

Lines changed: 1 addition & 204 deletions

File tree

sasdata/temp_hdf5_reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ def load_data(filename: str) -> dict[str, SasData]:
325325
lower_key = key.lower()
326326
if lower_key.startswith("sasdata") or lower_key.startswith("data"):
327327
datum = recurse_hdf5(component)
328-
# TODO: Use named identifier
329-
data_contents = connected_data(datum, "FILE_ID_HERE")
328+
data_contents = connected_data(datum, str(filename))
330329

331330
metadata = parse_metadata(f[root_key])
332331

test/sasdataloader/reference/14250.txt

Lines changed: 0 additions & 51 deletions
This file was deleted.

test/sasdataloader/reference/33837.txt

Lines changed: 0 additions & 50 deletions
This file was deleted.

test/sasdataloader/reference/33837_v3.txt

Lines changed: 0 additions & 50 deletions
This file was deleted.

test/sasdataloader/reference/BAM.txt

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)