Skip to content

Commit e76fccc

Browse files
committed
#240 Catalan WG
1 parent 1a920b7 commit e76fccc

File tree

12 files changed

+2361
-5
lines changed

12 files changed

+2361
-5
lines changed

.platform/hooks/postdeploy/02_django.sh

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ python ./manage.py 05_populate_items -l 'Finnish' -f WS
2222
python ./manage.py 05_populate_items -l 'Arabic (Saudi)' -f WS
2323
python ./manage.py 05_populate_items -l 'Arabic (Saudi)' -f WSOther
2424
python ./manage.py 05_populate_items -l 'Finnish' -f WSShort
25+
python ./manage.py 05_populate_items -l 'Catalan' -f WG
2526

2627
python ./manage.py 06_populate_datasets
2728

@@ -51,6 +52,7 @@ python ./manage.py 07_import_datasets -l 'Arabic (Saudi)' -f WG
5152
python ./manage.py 07_import_datasets -l 'Arabic (Saudi)' -f WS
5253
python ./manage.py 07_import_datasets -l 'Arabic (Saudi)' -f WSOther
5354
python ./manage.py 07_import_datasets -l Finnish -f WSShort
55+
python ./manage.py 07_import_datasets -l Catalan -f WG
5456

5557
python ./manage.py 08_populate_vocabulary_size -l 'French (French)' -f WS
5658
python ./manage.py 08_populate_vocabulary_size -l 'French (French)' -f WG

common/management/commands/06_populate_datasets.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,4 @@ def handle(self, *args, **options):
5555
defaults=data_dict,
5656
)
5757
if created:
58-
print(f" Created dataset file {source['file']}")
59-
print(f'{dataset_origin} : {source["name"]} : {source["dataset"]} : {instrument}')
58+
print(f" Created dataset file {source['file']}: {dataset_origin} : {source['name']} : {source['dataset']} : {instrument}")

instruments/management/commands/02_create_instrument_schemas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def add_arguments(self, parser):
1212
parser.add_argument("-f", "--form", type=str)
1313

1414
def handle(self, *args, **options):
15-
instruments = json.load(open("static/json/instruments.json"))
15+
instruments = json.load(open("static/json/instruments.json", encoding="utf8"))
1616

1717
if options["language"] and options["form"]:
1818
input_language, input_form = options["language"], options["form"]

instruments/migrations/0052_auto_20231218_0232.py

+446
Large diffs are not rendered by default.

instruments/models.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@
8383
from .schemas.French_Quebecois_WG import *
8484
from .schemas.Finnish_WGProdShort import *
8585
from .schemas.Finnish_WGProd import *
86-
from .schemas.English_American_WG import *
8786
from .schemas.Finnish_WS import *
8887
from .schemas.Arabic_Saudi_WS import *
8988
from .schemas.Arabic_Saudi_WSOther import *
90-
from .schemas.English_American_WG import *
89+
from .schemas.Catalan_WG import *

instruments/schemas/Catalan_WG.py

+430
Large diffs are not rendered by default.

raw_data/Catalan_WG/CatalanWG_Serrat_data.csv

+579
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)