nanophotonics / nplab

Core functions and instrument scripts for the Nanophotonics lab experimental scripts
GNU General Public License v3.0
38 stars 15 forks source link

Description field in Camera doesn't work #8

Closed rwb27 closed 9 years ago

rwb27 commented 9 years ago

The default text suggests that it's not been correctly picked up as a Trait, possibly because Instrument no longer has traits.

rwb27 commented 9 years ago

I think I've fixed this by redefining it in Camera, where traits enters, but it could use some testing!

rwb27 commented 9 years ago

I tested this and it is fixed now I think. The problem was what I thought. I removed the Description trait from Instrument, as it's no longer a HasTraits subclass. Hope that doesn't break anything else!