atk_toolbox 0.0.38 → 0.0.39
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.
- checksums.yaml +4 -4
- data/lib/atk_toolbox/version.rb +1 -1
- data/lib/yaml_edit/set_key.py +8 -1
- data/test/info.yaml +17 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7615bfcaffd4148abbaa23fea5e6dc9b367b5db9b9b4a415b150f6202e88546c
|
4
|
+
data.tar.gz: 51abc23807c65959dde210760d4657c2a4f342cf0a279696839904c5afb36f75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abb86efc828b1c189f4d0087b9f6464aa156782e52ba78142458e0d8e374104a122f49bf37cdb5e00a649f037d5ce0365fa342d62d0d1c1b2ad393a787698327
|
7
|
+
data.tar.gz: 9910cce97aa11febd1dccee9420be1f2d16b848c1ccbf510042e81047d024ab30e9eb0499d4d3a0b5f5a9ffe604ad9103450f0ec1d9960d19576a360dea181e5
|
data/lib/atk_toolbox/version.rb
CHANGED
data/lib/yaml_edit/set_key.py
CHANGED
@@ -26,6 +26,8 @@ if indent_match == None:
|
|
26
26
|
else:
|
27
27
|
indent = len(indent_match[0])
|
28
28
|
|
29
|
+
|
30
|
+
|
29
31
|
# parse the yaml
|
30
32
|
data = ruamel.yaml.round_trip_load(yaml_string)
|
31
33
|
# parse the path
|
@@ -35,4 +37,9 @@ new_value = json.loads(new_key_value)
|
|
35
37
|
# set the value
|
36
38
|
set_by_path(data, path_to_element, new_value)
|
37
39
|
# output the data
|
38
|
-
|
40
|
+
yaml = ruamel.yaml.YAML()
|
41
|
+
yaml.indent(mapping=4, sequence=4, offset=2)
|
42
|
+
yaml.width = float("Infinity")
|
43
|
+
yaml.default_flow_style = False
|
44
|
+
yaml.dump(data, sys.stdout)
|
45
|
+
# print(ruamel.yaml.round_trip_dump(data, indent=indent, block_seq_indent=int(indent/2), width=, default_flow_style=False))
|
data/test/info.yaml
CHANGED
@@ -67,8 +67,20 @@
|
|
67
67
|
# CMAKE_LIB: "C:\\testing"
|
68
68
|
test:
|
69
69
|
thing:
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
70
|
+
- 1
|
71
|
+
- 2
|
72
|
+
- 3
|
73
|
+
- alkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkadalkdjfajdlkfjadsfljkad
|
74
|
+
challenges:
|
75
|
+
- A bit discouraging with how non-binary expressions are. Forcing them into categories feels inaccurate
|
76
|
+
- video contents:
|
77
|
+
- multiple faces (very hard to get one face with genuine expressions)
|
78
|
+
- people not directly facing the camera
|
79
|
+
- glasses, headphones, hats, microphones
|
80
|
+
- shaky video
|
81
|
+
- lighting
|
82
|
+
- |
|
83
|
+
single faces are generally people actively talking or interviewing, not being passive.
|
84
|
+
People who are passive are generally participating in something else, and usually that means other faces are on screen
|
85
|
+
This means very little
|
86
|
+
- face touching
|