cns-iu / hra-3d-cell-generation-api

API to generate 3D Cells inside Anatomical Structures
0 stars 0 forks source link

Keys in `node_distribution` cannot have blank spaces #1

Closed andreasbueckle closed 6 months ago

andreasbueckle commented 6 months ago

The node_distribution dict in the JSON request (example) has keys for cell labels. These cannot have white space, apparently. I got an 500 response code and Error processing message. Currently, I avoid the issue by removing white space from cell_label, but this is a temporary workaround as it makes using the cell_label downstream harder. An example of this workaround is in the Clean keys cell in https://github.com/cns-iu/hra-cell-type-populations-supporting-information/blob/main/3d_cells_in_anatomical_structures/3d_cells_in_unity_visualization_with_api.ipynb