Datasets:

Modalities:
Image
Text
Formats:
parquet
Languages:
Danish
ArXiv:
DOI:
Libraries:
Datasets
Dask
License:
Kenneth Enevoldsen commited on
Commit
1c59499
·
unverified ·
1 Parent(s): 5f324fa

remove unused repo_path args in update_descriptive_stats

Browse files
src/dynaword/update_descriptive_statistics.py CHANGED
@@ -145,12 +145,6 @@ def create_parser():
145
  action=argparse.BooleanOptionalAction,
146
  help="Should the statistics be forcefully recomputed. By default it checks the difference in commit ids.",
147
  )
148
- parser.add_argument(
149
- "--repo_path",
150
- default=str(repo_path),
151
- type=str,
152
- help="The repository where to calculate the descriptive statistics from",
153
- )
154
  return parser
155
 
156
 
@@ -158,7 +152,6 @@ def main(
158
  dataset: str | None = None,
159
  logging_level: int = 20,
160
  force: bool = False,
161
- repo_path: Path = repo_path,
162
  ) -> None:
163
  logging.basicConfig(level=logging_level)
164
 
@@ -178,5 +171,4 @@ if __name__ == "__main__":
178
  args.dataset,
179
  logging_level=args.logging_level,
180
  force=args.force,
181
- repo_path=Path(args.repo_path),
182
  )
 
145
  action=argparse.BooleanOptionalAction,
146
  help="Should the statistics be forcefully recomputed. By default it checks the difference in commit ids.",
147
  )
 
 
 
 
 
 
148
  return parser
149
 
150
 
 
152
  dataset: str | None = None,
153
  logging_level: int = 20,
154
  force: bool = False,
 
155
  ) -> None:
156
  logging.basicConfig(level=logging_level)
157
 
 
171
  args.dataset,
172
  logging_level=args.logging_level,
173
  force=args.force,
 
174
  )