jdyeakel / Lego

0 stars 1 forks source link

Some objects are not made by anything (no 'm' in int_m[:,objectid]) #13

Closed jdyeakel closed 7 years ago

jdyeakel commented 7 years ago

Just found a new issue though not extremely common. Sometimes made objects are not 'made' by anything. These will just be ignored in the simulations, but it might mess up some of the statistical properties of the template. Obviously in the build_template module.

jdyeakel commented 7 years ago

Fixed. Now if there are objects that make other objects, we eliminate this 'm-n' interaction from object-object. Sometimes this leaves objects unmade by anything and adrift (the source of the original problem). The fix is to say that if a species1 makes object1 and object1 makes object2, we conclude that species1 makes object1 and object2. Now the minimum number of makers per object is 1.