Q100045: Flix fails to convert some values in localParameters.py to localParameters.yml

Follow

KNOWN ISSUE

Due to a known bug some versions of Flix will fail to convert certain variables in localParameters.py when creating localParameters.yml

WORKAROUND

To workaround the problem you should do the following:

Inside localParameters.yml add the following block after replacing FLIX_EXAMPLE_PARAMETER with the name of the unconverted parameter(s) from localParameters.py. Everything else in the block remains the same.  

You will need to add a block for each unconverted parameter.

FLIX_EXAMPLE_PARAMETER : !!python/object/apply:apply
                        - !!python/object/apply:getattr
                            - !!python/name:os.environ
                            - get
                        - ['FLIX_EXAMPLE_PARAMETER']
    

Keywords:


Was this article helpful?
0 out of 0 found this helpful