Skip to content

Unit tests test_experiment.py fails #857

@gadieid

Description

@gadieid

Reason 1:

/home/gadi/Production/pyargos/argos/experimentSetup/dataObjects.py:548: in refresh
    experimentDict = getattr(self, f"fix_json_version{fileVersion}")(experimentDict)
E   AttributeError: 'TestExp' object has no attribute '_fix_json_version_1_0_0'

The DataObjects has method for
fix_json_version_1_0_0_

Reason 2 after duplicating the method above:

/home/gadi/Production/pyargos/argos/experimentSetup/dataObjects.py:964: in init
    properties = propertiesPandas.merge(trialSet.propertiesTable, left_index=True, right_index=True)[

... pandas internal traceback ...

E   KeyError: "['type', 'label', 'description'] not in index"

Indeed, after printing availables columns there are just
AVAILABLE COLUMNS: ['val', 'type_x', 'type_y', 'name']

Seems to be a data problem??

Probably much more problems

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions