Skip to content

Regression: 'inf' token no longer converted to float #2014

@staadecker

Description

@staadecker

Summary

Previously, loading a CSV through the data portal containing a cell with value inf would result in a float. Now, inf stays as a string which results in an error when the domain is checked.

Steps to reproduce the issue

  1. Create a csv file with one if it's cells having inf as a value.

  2. Load the csv through the DataPortal.

  3. If the parameter belonging to that cell has domain NonNegativeReals an error will be thrown.

Faulty code

This is the PR and lines of codes changed that introduced this regression

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugnot plannedpyomo.dataAny issues related to data portals and data file parsing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions