# StrainPhlan tutorial error - cannot add metadata to tree

**URL:** https://forum.biobakery.org/t/strainphlan-tutorial-error-cannot-add-metadata-to-tree/8154
**Category:** StrainPhlAn
**Created:** [June 18, 2025, 5:51pm UTC](https://forum.biobakery.org/t/strainphlan-tutorial-error-cannot-add-metadata-to-tree/8154 "2025-06-18T17:51:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lfreund](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/lfreund/32/3046_2.png) [@lfreund](https://forum.biobakery.org/u/lfreund)
#### Post date: [June 18, 2025, 5:51pm UTC](https://forum.biobakery.org/t/strainphlan-tutorial-error-cannot-add-metadata-to-tree/8154/1 "2025-06-18T17:51:13Z")

</div>

I was following the StrainPhlan tutorial found [here](https://github.com/biobakery/biobakery/wiki/strainphlan4) and received an error trying to run the script add\_metadata\_tree.py. The error is shown in this screenshot. I just wanted to let the developers know of this issue. Thanks!

 ![Screenshot 2025-06-18 at 10.50.29 AM](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/2X/f/f3df817bca986cd7abea41fa9548b2f0ba382264.png)
