Skip to content

🐛 InDat reading coverts integers to floats #3892

@je-cook

Description

@je-cook

Describe the bug

On reading in an existing IN.DAT and then writing it out again some integers are converted to floats when running the rewritten IN.DAT PROCESS falls over

Steps to reproduce

st_regress = "st_regression.IN.DAT"
out = InDat(filename=st_regress)
out.data['i_pf_location"].get_value  # [2.0, 3.0, 3.0, 4.0],  should be integers

out.write_in_dat(output_filename="new.IN.DAT")  # run this file and it process doesnt like it

Expected behaviour

Evidence

Environment

  • OS:
  • Version:

Additional context

Metadata

Metadata

Assignees

Labels

Input/Output FilesIssues related to the input and output data files

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions