"colour.SpectralDistribution_IESTM2714.read" method should probably return "self".
See original GitHub issueThe colour.SpectralDistribution_IESTM2714.read
method returns True
currently while it should probably return self
: https://github.com/colour-science/colour/blob/8eb5c73fbd986f47ef5fbc7cb48d0288bdfb12c0/colour/io/ies_tm2714.py#L996
This would allow one to do something along those lines:
sd = SpectralDistribution_IESTM2714('Fluorescent.spdx').read()
instead of
sd = SpectralDistribution_IESTM2714('Fluorescent.spdx')
sd.read()
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok sure
@KelSolaar
No problem, I reverted the branch and remade my changes and updated the tests but there is still a failure in one test that I’m a little confused by. But it’s almost there