davanstrien HF Staff Claude commited on
Commit
4f91e22
·
1 Parent(s): b2e767b

Fix function call to match updated signature

Browse files

Remove trust_remote_code parameter from function call since it was
removed from datasets 4.0.0

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. atlas-export.py +1 -1
atlas-export.py CHANGED
@@ -109,7 +109,7 @@ def build_atlas_command(args) -> tuple[list, str, Optional[Path]]:
109
  # If sampling is requested, pre-sample the dataset
110
  if args.sample:
111
  parquet_path, temp_data_dir = sample_dataset_to_parquet(
112
- args.dataset_id, args.sample, args.split, args.trust_remote_code
113
  )
114
  dataset_input = str(parquet_path)
115
  else:
 
109
  # If sampling is requested, pre-sample the dataset
110
  if args.sample:
111
  parquet_path, temp_data_dir = sample_dataset_to_parquet(
112
+ args.dataset_id, args.sample, args.split
113
  )
114
  dataset_input = str(parquet_path)
115
  else: