Skip to content

Commit cbc32ce

Browse files
committed
Implement inheritance of field names for structures based on supertypes:
- utils function necessary for inheritance - changes to update_descriptive_names! to add inheritance step - Changes to descriptive_names.yml; removing redundant descriptive names and adding descriptive names to supertypes.
1 parent a5938ee commit cbc32ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils_GUI/GUI_utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ function update_descriptive_names!(gui::GUI)
635635
# create a dictionary were the keys are all the types defined in emx_packages and the values are the types they inherit from
636636
emx_supertypes_dict = get_supertypes(emx_packages)
637637
inherit_descriptive_names_from_supertypes!(descriptive_names, emx_supertypes_dict)
638+
638639
for package emx_packages
639640
package_path::Union{String,Nothing} = dirname(dirname(Base.find_package(package)))
640641
if !isnothing(package_path)

0 commit comments

Comments
 (0)