Skip to content

Commit

Permalink
Fix message to user and dir name in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Dec 16, 2024
1 parent e6d1a71 commit a2a9fc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/scribe_data/cli/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ def wd_lexeme_dump_download_wrapper(
Optional date string in YYYYMMDD format for specific dumps.
output_dir : str
Optional directory path for the downloaded file. Defaults to 'scribe_data_wikidumps' directory.
Optional directory path for the downloaded file.
Defaults to 'scribe_data_wikidata_dumps_export' directory.
"""
dump_url = download_wd_lexeme_dump(wikidata_dump or "latest-lexemes")

Expand All @@ -246,7 +247,7 @@ def wd_lexeme_dump_download_wrapper(
user_response = (
input(
"We'll be using the Wikidata lexeme dump from dumps.wikimedia.org/wikidatawiki/entities."
"Do you want to proceed? (y/n): "
"\nDo you want to proceed? (y/n): "
)
.strip()
.lower()
Expand Down
2 changes: 1 addition & 1 deletion src/scribe_data/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
DEFAULT_CSV_EXPORT_DIR = "scribe_data_csv_export"
DEFAULT_TSV_EXPORT_DIR = "scribe_data_tsv_export"
DEFAULT_SQLITE_EXPORT_DIR = "scribe_data_sqlite_export"
DEFAULT_DUMP_EXPORT_DIR = "scribe_data_wiki_dumps_export"
DEFAULT_DUMP_EXPORT_DIR = "scribe_data_wikidata_dumps_export"

LANGUAGE_DATA_EXTRACTION_DIR = (
Path(__file__).parent / "wikidata" / "language_data_extraction"
Expand Down

0 comments on commit a2a9fc3

Please sign in to comment.