Skip to content

Commit

Permalink
Merge pull request #10 from oxpig/add-empty-model-files
Browse files Browse the repository at this point in the history
added empty model files for clean uninstall
  • Loading branch information
FBoyles authored May 31, 2024
2 parents 5e276c9 + 23e8e6b commit 1cc3d09
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 1 deletion.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion ImmuneBuilder/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 1cc3d09

Please sign in to comment.