Skip to content
Merged
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 src/datasets/fingerprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def fingerprint_transform(

def _fingerprint(func):
if not inplace and not all(name in func.__code__.co_varnames for name in fingerprint_names):
raise ValueError("function {func} is missing parameters {fingerprint_names} in signature")
raise ValueError(f"function {func} is missing parameters {fingerprint_names} in signature")

if randomized_function: # randomized function have seed and generator parameters
if "seed" not in func.__code__.co_varnames:
Expand Down