You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I got a problem to open my FTIR Omnic Map files after processing them (Atmospheric Suppression feature from OMNIC 9.2) with the IO module of PyMCA: I get an error because the searchedChain is not found (it is "Spectrum " as bytes in my case).
subsection not found File "C:\Program Files\Python36\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
File "C:\Program Files\Python36\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
File "build\tmp\QStackWidget.py", line 1428, in <module>
File "C:\Program Files\PyMca 5.6.3\PyMca5\PyMcaGui\pymca\StackSelector.py", line 151, in getStack
stack = OmnicMap.OmnicMap(filelist[0])
File "C:\Program Files\PyMca 5.6.3\PyMca5\PyMcaIO\OmnicMap.py", line 79, in __init__
firstByte = data.index(searchedChain)
I will try to identify another chain to use as a landmark. What I plan to do to achieve this is:
Read the firstByte from a non-processed map;
Set firstByte to this fixed value and try to open a processed map;
Read the bytes near it and see if they correspond to a new keyword.
Otherwise, I wonder if it is possible to parse the whole file to detect some letters (e.g. "e") or if I'll get too much information...
The text was updated successfully, but these errors were encountered:
Hi!
I got a problem to open my FTIR Omnic Map files after processing them (Atmospheric Suppression feature from OMNIC 9.2) with the IO module of PyMCA: I get an error because the
searchedChain
is not found (it is "Spectrum " as bytes in my case).I will try to identify another chain to use as a landmark. What I plan to do to achieve this is:
firstByte
from a non-processed map;firstByte
to this fixed value and try to open a processed map;Otherwise, I wonder if it is possible to parse the whole file to detect some letters (e.g. "e") or if I'll get too much information...
The text was updated successfully, but these errors were encountered: