Closed jschalk closed 1 month ago
This pull request implements a significant refactoring of the codebase, primarily focusing on renaming variables and functions to improve clarity and consistency. The main changes involve replacing 'src' and 'dst' with 'otx' and 'inx' respectively, throughout the codebase. This change affects multiple files and functions, including data structures, file operations, and filtering logic.
classDiagram
class BridgeKind {
+dict otx_to_inx
+str unknown_word
+str otx_road_delimiter
+str inx_road_delimiter
+dict explicit_label
+str python_type
+str face_id
+set_all_otx_to_inx(dict x_otx_to_inx, bool raise_exception_if_invalid)
+set_otx_to_inx(str otx_word, str inx_word)
+_get_inx_value(str otx_word) str
+get_create_inx(str otx_word, bool missing_add) str
+_get_create_roadunit_inx(str otx_road) RoadUnit
+_get_explicit_roadnode(RoadNode x_roadNode) RoadNode
+otx_to_inx_exists(str otx_word, str inx_word) bool
+otx_exists(str otx_word) bool
+del_otx_to_inx(str otx_word)
+set_explicit_label(RoadNode otx_label, RoadNode inx_label)
+_set_new_explicit_label_to_otx_inx(RoadNode otx_label, RoadNode inx_label)
+_get_explicit_inx_label(RoadNode otx_label) RoadNode
+explicit_label_exists(RoadNode otx_label, RoadNode inx_label) bool
+explicit_otx_label_exists(RoadNode otx_label) bool
+del_explicit_label(RoadNode otx_label)
+_unknown_word_in_otx_to_inx() bool
+_otx_road_delimiter_in_otx_words() bool
+_inx_road_delimiter_in_otx_words() bool
+_otx_road_delimiter_in_inx_words() bool
+_inx_road_delimiter_in_inx_words() bool
+_is_otx_delimiter_inclusion_correct() bool
+_is_inx_delimiter_inclusion_correct() bool
+all_otx_parent_roads_exist() bool
+is_valid() bool
+get_dict() dict
+get_json() str
}
classDiagram
class BridgeUnit {
+str face_id
+dict bridgekinds
+str unknown_word
+str otx_road_delimiter
+str inx_road_delimiter
+set_bridgekind(BridgeKind x_bridgekind)
+is_valid() bool
+set_otx_to_inx(str x_python_type, str x_otx, str x_inx)
+_get_inx_value(str x_python_type, str x_otx) str
+otx_to_inx_exists(str x_python_type, str x_otx, str x_inx) bool
+del_otx_to_inx(str x_python_type, str x_otx)
+set_explicit_label(str x_python_type, str x_otx, str x_inx)
+_get_explicit_inx_label(str x_python_type, str x_otx) str
+explicit_label_exists(str x_python_type, str x_otx, str x_inx) bool
+del_explicit_label(str x_python_type, str x_otx)
+get_dict() dict
+get_json() str
}
Change | Details | Files |
---|---|---|
Renamed 'src' to 'otx' and 'dst' to 'inx' throughout the codebase |
|
src/f09_filter/bridge.py src/f09_filter/examples/example_bridges.py src/f09_filter/test/test_bridgekind_delimiter.py src/f09_filter/test/test_bridgekind_get_create_dst.py src/f09_filter/test/test_filter_file.py src/f09_filter/test/test_filter_.py src/f09_filter/test/test_bridgekind_.py src/f09_filter/test/test_bridgeunit_.py src/f09_filter/test/test_bridgekind_dict.py src/f00_instrument/pandas_tool.py src/f09_filter/filter.py src/f00_instrument/file.py src/f08_brick/brick.py |
Refactored data structures and functions to support the new terminology |
|
src/f09_filter/bridge.py src/f09_filter/test/test_bridgekind_.py src/f09_filter/test/test_bridgeunit_.py src/f09_filter/filter.py |
Updated file operations to use the new terminology |
|
src/f00_instrument/file.py src/f00_instrument/pandas_tool.py src/f09_filter/filter.py src/f08_brick/brick.py |
Expanded and updated sorting priority for column headers |
|
src/f00_instrument/pandas_tool.py src/f04_gift/test_atom/test_atom_config.py |
Summary by Sourcery
Refactor codebase to replace 'src' and 'dst' terminology with 'otx' and 'inx' for improved clarity and consistency. Update all related test cases to align with the new naming conventions.
Enhancements:
Tests: