Skip to content

Commit

Permalink
added empty model files for clean uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
npqst committed May 30, 2024
1 parent 9507925 commit 23e8e6b
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 23e8e6b

Please sign in to comment.