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.

AttributeError: no attribute 'groups'

See original GitHub issue
  • nxviz version: 0.3.6
  • Python version: 3.6
  • Operating System: macosx

Description

Running the examples in the git examples folder generates an attribute error, after a fresh install from the git repo.

What I Did

(test-nxviz) ╭─[~/git/nxviz/examples/circos]─[jq2@sweetgum]─[0]─[10891]
╰─[:)] % python barbell.py
Traceback (most recent call last):
  File "barbell.py", line 16, in <module>
    c.draw()
  File "/Users/jq2/miniconda/envs/test-nxviz/lib/python3.6/site-packages/nxviz/plots.py", line 182, in draw
    if self.groups:
AttributeError: 'CircosPlot' object has no attribute 'groups'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ThijsHrmcommented, Apr 15, 2018

In my upcoming pull request this is fixed as follows:

if hasattr(self, ‘groups’) and self.groups:

note that self.groups is only set if the parameter group_label_position is specified. This won’t break anything

0reactions
ericmjlcommented, Apr 21, 2018

I believe this bug has been fixed. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'NoneType' object has no attribute 'group' - Stack Overflow
I am not entirely sure what is going on and I can't figure out this error. Error: AttributeError: 'NoneType' object has no attribute...
Read more >
AttributeError: 'NoneType' object has no attribute 'group'
The Python "AttributeError: 'NoneType' object has no attribute" occurs when we try to call the group() method on a None value, e.g. after...
Read more >
AttributeError 'NoneType' object has no attribute 'groups'
This error happens when using the Multixcan tool, it usually happens when the tool cant find files in the Metaxcan folder you provided....
Read more >
AttributeError: 'GroupKFold' object has no attribute 'groups' #515
When I set "split_type" as GroupKFold, then use fit() with setting "groups", I got the issue: AttributeError: 'GroupKFold' object has no ...
Read more >
[Solved] AttributeError: Nonetype Object Has No Attribute Group
In this article we will discuss AttributeError:Nonetype object has no Attribute Group. We will understand it and then find solution for it.
Read more >

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