Skip to content

Commit

Permalink
Merge pull request #841 from CitrineInformatics/SPT-765/fix-jakes-bug
Browse files Browse the repository at this point in the history
SPT-765: Deser on ChemFormFeatures
  • Loading branch information
Sean Friedowitz authored Apr 3, 2023
2 parents 1637906 + 3a7dc92 commit 33fc5c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/citrine/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.11.1'
__version__ = '2.11.2'
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import List, Optional

from citrine._rest.engine_resource import VersionedEngineResource
from citrine._serialization import properties as _properties
from citrine._serialization import properties
from citrine.informatics.descriptors import ChemicalFormulaDescriptor, Descriptor
from citrine.informatics.predictors import Predictor

Expand Down Expand Up @@ -130,13 +130,14 @@ class ChemicalFormulaFeaturizer(VersionedEngineResource['ChemicalFormulaFeaturiz
"""

input_descriptor = _properties.Object(Descriptor, 'data.instance.input')
features = _properties.List(_properties.String, 'data.instance.features')
excludes = _properties.List(_properties.String, 'data.instance.excludes')
powers = _properties.List(_properties.Integer, 'data.instance.powers')
input_descriptor = properties.Object(Descriptor, 'data.instance.input')
features = properties.List(properties.String, 'data.instance.features')
excludes = properties.List(properties.String, 'data.instance.excludes', default=[])
powers = properties.List(properties.Integer, 'data.instance.powers')

typ = _properties.String('data.instance.type', default='ChemicalFormulaFeaturizer',
deserializable=False)
typ = properties.String(
'data.instance.type', default='ChemicalFormulaFeaturizer', deserializable=False
)

def __init__(self,
name: str,
Expand Down

0 comments on commit 33fc5c7

Please sign in to comment.