Hi,
Olga (2024.2) allows a branch name with single quotation mark. Pyfas can read, but cannot extract the data of the branch with a single-quotation mark. If there is a fix please let me know. Thank you very much.
When extracting, the branch name understood by Pyfas is ended with the first single-quotation mark
ppl.profiles[6]
"PT 'SECTION:' 'BRANCH:' 'BRANCH NAME WITH ' ONE QUOTATION MARK' '(PA)' 'Pressure'\n"
ppl.extract(6)
Traceback (most recent call last):
File "", line 1, in
File "c:\winpy\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyfas\ppl.py", line 120, in extract
x_st = self.geometries[branch][0]
KeyError: 'BRANCH NAME WITH '
sanitized.key.txt
sanitized.ppl.txt