Skip to content

How pypx handles missing elements

Jennings Zhang edited this page Aug 3, 2023 · 2 revisions

pypx handles missing elements by providing some default value. However, this default value is different depending on the situation.

Default Value Situation
"Not defined" Tag is one of these: https://github.com/FNNDSC/pypx/blob/3f0887d81058f2aff4d36925429130fc1c8c2e15/pypx/smdb.py#L305-L327
no value provided https://github.com/FNNDSC/pypx/blob/3f0887d81058f2aff4d36925429130fc1c8c2e15/pypx/utils.py#L10
no value provided for (xxxx, xxxx) https://github.com/FNNDSC/pypx/blob/3f0887d81058f2aff4d36925429130fc1c8c2e15/pypx/base.py#L219
'SeriesDescription' (with the single quotes) Shows up in seriesData/XXXXXXXX-register.json
Clone this wiki locally