ChandraCXC / iris-dev

repository for tracking Iris development tasks
0 stars 0 forks source link

model component IDs clash, causing unexpected behaviour #136

Open jbudynk opened 7 years ago

jbudynk commented 7 years ago

Say one saves a model to a .json file, and the component IDs are m5, m6, m7, and m8. Then this person adds 5 new model components to the Fitting Tool. That last component will also be called "m5", thus wiping out the old "m5" loaded earlier.

To reproduce:

You should see component 5 (in the radio part of the spectrum) has completely changed shape, if not disappeared entirely.