# AttributeError in CGFP parse\_ssn.py

**URL:** <https://forum.biobakery.org/t/attributeerror-in-cgfp-parse-ssn-py/336>\
**Category:** Microbial community profiling\
**Created:** [April 9, 2020, 4:36pm UTC](https://forum.biobakery.org/t/attributeerror-in-cgfp-parse-ssn-py/336 "2020-04-09T16:36:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phyto9](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@phyto9](https://forum.biobakery.org/u/phyto9)\
**Post date:** [April 9, 2020, 4:36pm UTC](https://forum.biobakery.org/t/attributeerror-in-cgfp-parse-ssn-py/336/1 "2020-04-09T16:36:23Z")

</div>

Hi,

I am trying to run through the CGFP workflow. I have generated a SSN and am using Cytoscape 3.2.1 to generate node and edge tables for the SSN. When running parse\_ssn.py I encounter the following error:

Traceback (most recent call last):  
File “./cgfp/scripts/parse\_ssn.py”, line 195, in   
main( )  
File “./cgfp/scripts/parse\_ssn.py”, line 176, in main  
node\_a.attach( node\_b )  
AttributeError: ‘NoneType’ object has no attribute ‘attach’

I am wondering if this is an error coming from the tables I generated? Any help troubleshooting would be appreciated.  
Thanks!

---

<div class="post-metadata">

**Author:** ![franzosa](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/franzosa/32/3511_2.png) [@franzosa](https://forum.biobakery.org/u/franzosa)\
**Post date:** [April 9, 2020, 7:49pm UTC](https://forum.biobakery.org/t/attributeerror-in-cgfp-parse-ssn-py/336/2 "2020-04-09T19:49:39Z")

</div>

My guess is that there is something off about the SSN file. I would start by comparing it to the demo file to see if you spot anything obviously different. If not, feel free to send it along and I will take a look.
