hemantn commited on
Commit
b9f49af
·
1 Parent(s): 9d902f5

Fix import error for get_sequences_from_anarci

Browse files
Files changed (1) hide show
  1. adapter.py +3 -1
adapter.py CHANGED
@@ -7,6 +7,9 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
7
  if current_dir not in sys.path:
8
  sys.path.insert(0, current_dir)
9
 
 
 
 
10
  # List of utility files that need to be available
11
  UTILITY_FILES = [
12
  'restoration.py',
@@ -636,7 +639,6 @@ class HFAbRestore(AbRestore):
636
 
637
  max_position = 128 if chain == 'H' else 127
638
 
639
- from extra_utils import get_sequences_from_anarci
640
  seqs = anarci_data.apply(
641
  lambda x: get_sequences_from_anarci(
642
  x.anarci,
 
7
  if current_dir not in sys.path:
8
  sys.path.insert(0, current_dir)
9
 
10
+ # Import the required function
11
+ from extra_utils import get_sequences_from_anarci
12
+
13
  # List of utility files that need to be available
14
  UTILITY_FILES = [
15
  'restoration.py',
 
639
 
640
  max_position = 128 if chain == 'H' else 127
641
 
 
642
  seqs = anarci_data.apply(
643
  lambda x: get_sequences_from_anarci(
644
  x.anarci,