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
Hello and thanks for providing the Python API for MetaMap!
I would like to extract UMLS Concepts (restricted to SNOMED-CT) via MetaMap and use the JSON output.
Hence the arguments are: -A -R SNOMEDCT_US_2022_03_01 --JSONf 2 -V USAbase -Z 2022AA
However, the output for a given request for example as shown below, results in a response containing not only JSON but also a ca. 205 characters long string showing the parameters before that:
A current workaround is to trim the response to be able to read the JSON output properly. However since the JSON itself contains the parameter information under 'CmdLine', the string in the response before that should be removed.
The text was updated successfully, but these errors were encountered:
KimBenjaminTang
changed the title
JSON output not correct / contains additional header
JSON output not correct / contains additional header and cut off
Dec 5, 2022
KimBenjaminTang
changed the title
JSON output not correct / contains additional header and cut off
JSON output not correct / contains additional header
Dec 5, 2022
Hello and thanks for providing the Python API for MetaMap!
I would like to extract UMLS Concepts (restricted to SNOMED-CT) via MetaMap and use the JSON output.
Hence the arguments are:
-A -R SNOMEDCT_US_2022_03_01 --JSONf 2 -V USAbase -Z 2022AA
However, the output for a given request for example as shown below, results in a response containing not only JSON but also a ca. 205 characters long string showing the parameters before that:
![BrokenJSON_Output](https://user-images.githubusercontent.com/16795915/203555556-49626ae2-01e8-4e44-8753-e4855e65ae2e.PNG)
A current workaround is to trim the response to be able to read the JSON output properly. However since the JSON itself contains the parameter information under
'CmdLine'
, the string in the response before that should be removed.The text was updated successfully, but these errors were encountered: