You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setting mask on non-masked column should raise error #3505
Seems like a __setattr__ on Column should do the trick. It should just look for item == 'mask' and raise an exception, otherwise fall through to the super method. Offhand I don't think there should be any performance implication, but we need to be sure.
Activity
taldcroft commentedon Feb 15, 2015
Agreed.
taldcroft commentedon Feb 15, 2015
Seems like a
__setattr__onColumnshould do the trick. It should just look foritem == 'mask'and raise an exception, otherwise fall through to the super method. Offhand I don't think there should be any performance implication, but we need to be sure.taldcroft commentedon Feb 15, 2015
Can leave this open for GSOC PR.
quantshah commentedon Feb 15, 2015
What message should be issued after AttrributeError is raised ? Will this snippet do the job in astropy/table/column.py ?
I got this output with astrofog's test case :
mvnnn commentedon Feb 24, 2016
that issue is still open? i want to work on this.
taldcroft commentedon Feb 25, 2016
@mvnnn - Go ahead. You can take over from #3522 and #4494. Both of those were not implemented correctly.