Skip to content

Commit

Permalink
Merge pull request #386 from ATOMScience-org/correct_transfer
Browse files Browse the repository at this point in the history
correct spelling
  • Loading branch information
mauvais2 authored Jan 15, 2025
2 parents 94f93d0 + 7f8db41 commit 2de5383
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion atomsci/ddm/test/unit/test_patch_model_dataset_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_check_data_accessibility_bad():
# directory with bad tarball
model_path = currentdir

dataset_info = pmdk.check_data_accessibility(model_path=model_path)
dataset_info = pmdk.check_data_accessibility(model_path=model_path, verbose=True)
assert len(dataset_info) == 0

if __name__ == '__main__':
Expand Down
2 changes: 2 additions & 0 deletions atomsci/ddm/utils/patch_model_dataset_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def check_data_accessibility(model_path, verbose=True):
dataset_info[path] = (dataset_path, False)
if verbose:
print(f"{os.path.basename(path)} trained on unreadable file:\n\t{dataset_path}")
if verbose:
print(f"model_path = {model_path}, model_path_len = {len(model_paths)}, dataset_info_length = {len(dataset_info)}")
return dataset_info


Expand Down

0 comments on commit 2de5383

Please sign in to comment.