ctheodoris madhavanvenkatesh commited on
Commit
7eca269
1 Parent(s): 57bc17e

remove token dictionary and unpickling from init (#403)

Browse files

- nested import for dictionaries from parent (3b4533faff40ad00e85ec014cae258b31cdd2647)


Co-authored-by: Madhavan Venkatesh <[email protected]>

Files changed (1) hide show
  1. geneformer/mtl/__init__.py +1 -11
geneformer/mtl/__init__.py CHANGED
@@ -1,11 +1 @@
1
- # ruff: noqa: F401
2
- from .. import TOKEN_DICTIONARY_FILE
3
- import pickle
4
-
5
- def load_token_dictionary():
6
- with open(TOKEN_DICTIONARY_FILE, 'rb') as f:
7
- return pickle.load(f)
8
-
9
- TOKEN_DICTIONARY = load_token_dictionary()
10
-
11
- __all__ = ["TOKEN_DICTIONARY"]
 
1
+ # ruff: noqa: F401