setta 0.0.10.dev0__py3-none-any.whl → 0.0.10.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of setta might be problematic. Click here for more details.
- setta/__init__.py +1 -1
- setta/database/db/sections/jsonSource.py +1 -8
- setta/database/db/sections/load.py +5 -3
- setta/static/frontend/assets/{index-9730190b.js → index-0304307e.js} +146 -146
- setta/static/frontend/index.html +1 -1
- {setta-0.0.10.dev0.dist-info → setta-0.0.10.dev1.dist-info}/METADATA +1 -1
- {setta-0.0.10.dev0.dist-info → setta-0.0.10.dev1.dist-info}/RECORD +11 -11
- {setta-0.0.10.dev0.dist-info → setta-0.0.10.dev1.dist-info}/LICENSE +0 -0
- {setta-0.0.10.dev0.dist-info → setta-0.0.10.dev1.dist-info}/WHEEL +0 -0
- {setta-0.0.10.dev0.dist-info → setta-0.0.10.dev1.dist-info}/entry_points.txt +0 -0
- {setta-0.0.10.dev0.dist-info → setta-0.0.10.dev1.dist-info}/top_level.txt +0 -0
setta/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.0.10.
|
1
|
+
__version__ = "0.0.10.dev1"
|
@@ -1,13 +1,6 @@
|
|
1
|
-
import json
|
2
1
|
from collections import defaultdict
|
3
2
|
|
4
|
-
from setta.utils.
|
5
|
-
from setta.utils.utils import (
|
6
|
-
recursive_dict_merge,
|
7
|
-
replace_null_keys_with_none,
|
8
|
-
save_json_to_file,
|
9
|
-
try_json,
|
10
|
-
)
|
3
|
+
from setta.utils.utils import replace_null_keys_with_none, save_json_to_file, try_json
|
11
4
|
|
12
5
|
|
13
6
|
def save_json_source_data(p, variant_ids=None):
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import copy
|
2
|
-
import glob
|
3
2
|
import itertools
|
4
3
|
import json
|
5
4
|
import logging
|
@@ -9,7 +8,7 @@ from setta.database.db.artifacts.load import load_artifact_groups
|
|
9
8
|
from setta.database.db.codeInfo.utils import new_code_info_col, with_code_info_defaults
|
10
9
|
from setta.database.db.sections.jsonSource import build_ancestor_paths
|
11
10
|
from setta.database.db.sections.utils import with_section_defaults
|
12
|
-
from setta.database.db.sectionVariants.utils import new_ev_entry
|
11
|
+
from setta.database.db.sectionVariants.utils import new_ev_entry
|
13
12
|
from setta.database.utils import create_new_id
|
14
13
|
|
15
14
|
from ..sectionVariants.load import load_section_variants
|
@@ -217,7 +216,10 @@ def load_json_sources_into_data_structures(
|
|
217
216
|
)
|
218
217
|
variant["jsonSourcMissing"] = isMissing
|
219
218
|
if not isMissing:
|
220
|
-
|
219
|
+
if not variant["codeInfoColId"]:
|
220
|
+
variant["codeInfoColId"] = create_new_id()
|
221
|
+
codeInfoCols[variant["codeInfoColId"]] = new_code_info_col()
|
222
|
+
codeInfoCol = codeInfoCols[variant["codeInfoColId"]]
|
221
223
|
merge_into_existing(new_data, variant, codeInfo, codeInfoCol)
|
222
224
|
|
223
225
|
|