Skip to content

Handling of files with non-string metadata #117

@znichollscr

Description

@znichollscr

Describe the bug

If you take a file with metadata that is not a string (instead, say, a float), then it causes the DRS processing to break (specifically the get_file_path function).

Failing Test

  • apply get_file_path on a Dataset that has float metadata (e.g. molecular weight of something)

Expected behavior

Should work the same as for a file without the float metadata.

Screenshots

System

  • OS: [e.g. Windows, Linux, macOS]
  • Python version [e.g. Python 3.11]

Additional context

Broke processing of CEDS VOC data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReports a bug or other unexpected behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions