Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct spelling #386

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading