diff --git a/ImmuneBuilder/trained_model/antibody_model_1 b/ImmuneBuilder/trained_model/antibody_model_1 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/antibody_model_2 b/ImmuneBuilder/trained_model/antibody_model_2 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/antibody_model_3 b/ImmuneBuilder/trained_model/antibody_model_3 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/antibody_model_4 b/ImmuneBuilder/trained_model/antibody_model_4 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/nanobody_model_1 b/ImmuneBuilder/trained_model/nanobody_model_1 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/nanobody_model_2 b/ImmuneBuilder/trained_model/nanobody_model_2 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/nanobody_model_3 b/ImmuneBuilder/trained_model/nanobody_model_3 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/nanobody_model_4 b/ImmuneBuilder/trained_model/nanobody_model_4 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr2_model_1 b/ImmuneBuilder/trained_model/tcr2_model_1 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr2_model_2 b/ImmuneBuilder/trained_model/tcr2_model_2 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr2_model_3 b/ImmuneBuilder/trained_model/tcr2_model_3 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr2_model_4 b/ImmuneBuilder/trained_model/tcr2_model_4 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr_model_1 b/ImmuneBuilder/trained_model/tcr_model_1 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr_model_2 b/ImmuneBuilder/trained_model/tcr_model_2 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr_model_3 b/ImmuneBuilder/trained_model/tcr_model_3 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/trained_model/tcr_model_4 b/ImmuneBuilder/trained_model/tcr_model_4 new file mode 100644 index 0000000..e69de29 diff --git a/ImmuneBuilder/util.py b/ImmuneBuilder/util.py index d9d1033..410d744 100644 --- a/ImmuneBuilder/util.py +++ b/ImmuneBuilder/util.py @@ -129,7 +129,7 @@ def add_errors_as_bfactors(filename, errors, header=[]): def are_weights_ready(weights_path): - if not os.path.exists(weights_path): + if not os.path.exists(weights_path) or os.path.getsize(weights_path) == 0: return False with open(weights_path, "rb") as f: filestart = str(f.readline())