Skip to content

Commit

Permalink
fixed import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanemenecker committed Oct 4, 2024
1 parent 540cb8e commit cfef947
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ fasta_predictions = predict_from_fasta(fasta_file, safe_mode=False, pad='random'
```

# Version history
## v0.11.0 (October 4, 2024)
* Fixed import errors.

## v0.1.0 (October 4, 2024)
* Initial release of TADA_T2

Expand Down
4 changes: 2 additions & 2 deletions TADA_T2/TADA.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import protfasta
import os

from TADA_T2.backend.predictor import predict_tada as _predict_tada
from TADA_T2.backend.utils import make_sequences_constant_length, map_sequences_to_prediction, verbose_warning_message
from .backend.predictor import predict_tada as _predict_tada
from .backend.utils import make_sequences_constant_length, map_sequences_to_prediction, verbose_warning_message


def predict(sequences, overlap_length=39, pad='GS', approach='even', verbose=True, safe_mode=True):
Expand Down
2 changes: 1 addition & 1 deletion TADA_T2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""A Tensorflow2 compatible version of the TADA transcriptional activation domain predictor."""

# Add imports here
from TADA_T2.TADA import *
from .TADA import *

from ._version import __version__
4 changes: 2 additions & 2 deletions TADA_T2/backend/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from tensorflow import convert_to_tensor

# package imports
from TADA_T2.backend.features import create_features, scale_features_predict
from TADA_T2.backend.model import TadaModel
from .features import create_features, scale_features_predict
from .model import TadaModel

def get_model_path():
'''
Expand Down

0 comments on commit cfef947

Please sign in to comment.