Skip to content

Commit

Permalink
add ghost suttas file
Browse files Browse the repository at this point in the history
  • Loading branch information
sujato committed Mar 28, 2022
1 parent 14f7c90 commit 6a8bf2a
Show file tree
Hide file tree
Showing 30 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ List of available scripts (unless otherwise noted, all scripts run in Scope 1):
## Notes on exceptions

There are several false positives generated by `sutta-processor`. These have been listed in the file `false_positives.yaml`, which is required by `sutta-processor` to run without raising errors for those false positives.

**Note**: `ghost_suttas.json` has been added. This is a list of suttas that only exist by number, without any actual text. Currently they raise the exception `File with the key: 'sn48.137-146' is missing in the root or reference directory.`. They can be added to `false_positives.yaml`.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
28 changes: 28 additions & 0 deletions example_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
exec_module: 'check_migration'

bilara_root_path: "./bilara-data/root/"
# Allows us to include more than just the Pali in the root tests
# bilara_root_langs: ['pli/ms/', 'lzh/']
bilara_root_langs: ['pli/ms/']
bilara_html_path: "./bilara-data/html"
bilara_comment_path: "./bilara-data/comment"
bilara_variant_path: "./bilara-data/variant"
bilara_translation_path: "./bilara-data/translation"
reference_root_path: "./bilara-data/reference/pli/ms"

# Not used in GitHub Action
ms_yuttadhammo_path: "./data/ms_yuttadhammo"
pali_concordance_filepath: ".data/all_pali_concordance.json"
pali_canon_path: "~/ms_palicanon"

exclude_dirs: ['name', 'xplayground', 'vri', 'site', 'blurb']
exclude_filepath: './false_positives.yaml'

# Path where check_migration script result will be saved.
# It should point to the migration_differences folder in the Bilara-data project.
migration_differences_path: "./bilara-data/migration_differences"


debug_dir: "."
# Log level: [0, 50]. 10-debug, 20-info, 30-warning, 40-error, 50-critical
log_level: 20
8 changes: 8 additions & 0 deletions ghost_suttas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ghost_suttas": [
"sn48.137-146",
"sn48.147-158",
"sn50.67-76",
"an4.106"
]
}

0 comments on commit 6a8bf2a

Please sign in to comment.