From 6c0ead9b06b9e84a21333ea6c137a52da51c2a2c Mon Sep 17 00:00:00 2001 From: adkinsrs Date: Fri, 15 Dec 2023 14:08:14 -0500 Subject: [PATCH] fixing import path --- lib/gear/orthology.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/gear/orthology.py b/lib/gear/orthology.py index 1f601fff..4aac05a3 100644 --- a/lib/gear/orthology.py +++ b/lib/gear/orthology.py @@ -1,9 +1,13 @@ # orthology.py - functions related to orthology mapping +import sys import pandas as pd from pathlib import Path -from .. import geardb +# append parent directory to path +sys.path.append(str(Path(__file__).resolve().parents[1])) + +import geardb organisms = geardb.OrganismCollection().get_all()