question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"colour.SpectralDistribution_IESTM2714.read" method should probably return "self".

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Apoorva-13commented, Oct 1, 2019

ok sure

0reactions
BPearlstinecommented, Oct 3, 2019

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found