cellmodeller / CellModeller

GPU-accelerated multicellular modelling framework
http://cellmodeller.github.io/CellModeller/
Other
56 stars 48 forks source link

Add a dictionary linking idxs to ids #6

Closed npmurphy closed 6 years ago

npmurphy commented 10 years ago

There is currently a dictionary from ids to idxs, this is not very useful since if we have the id we can get the cell from the cellstate dictionary and then get its idx. However frequently I need to go the other way, I have the idx and I want to get the id.

I might be an idea to remove id_to_idx altogether.