Skip to content

Commit

Permalink
fix(modifiers): Fix typos in component names
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Feb 2, 2024
1 parent be5047b commit 7e44e7b
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 34 deletions.
Binary file modified honeybee_grasshopper_radiance/icon/HB Custom Sky.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion honeybee_grasshopper_radiance/json/HB_Custom_Sky.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.7.0",
"version": "1.7.1",
"nickname": "CustomSky",
"outputs": [
[
Expand Down
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"description": "Search for available Mofidier Sets within the honeybee standards library.\n-",
"version": "1.7.2",
"nickname": "SearchModSets",
"outputs": [
[
{
"type": null,
"access": "None",
"name": "mod_sets",
"description": "A list of modifier sets within the honeybee radiance\nstandards library (filtered by keywords_ if they are input).",
"access": "None",
"type": null,
"default": null
}
]
],
"code": "\ntry: # import the honeybee-core dependencies\n from honeybee.search import filter_array_by_keywords\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee:\\n\\t{}'.format(e))\n\ntry: # import the honeybee-radiance dependencies\n from honeybee_radiance.lib.modifiersets import MODIFIER_SETS\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee_radiance:\\n\\t{}'.format(e))\n\ntry:\n from ladybug_{{cad}}.{{plugin}} import turn_off_old_tag\nexcept ImportError as e:\n raise ImportError('\\nFailed to import ladybug_{{cad}}:\\n\\t{}'.format(e))\nturn_off_old_tag(ghenv.Component)\n\n\nif len(keywords_) == 0:\n mod_sets = sorted(MODIFIER_SETS)\nelse:\n split_words = True if join_words_ is None else not join_words_\n mod_sets = sorted(filter_array_by_keywords(MODIFIER_SETS, keywords_, split_words))\n",
"name": "HB Search Mofidier Sets",
"version": "1.7.1",
"category": "HB-Radiance",
"subcategory": "1 :: Modifiers",
"nickname": "SearchModSets",
"inputs": [
{
"type": "string",
"access": "list",
"name": "keywords_",
"description": "Optional keywords to be used to narrow down the output list of\nmodifier sets. If nothing is input here, all available modifier sets\nwill be output.",
"access": "list",
"type": "string",
"default": null
},
{
"type": "bool",
"access": "item",
"name": "join_words_",
"description": "If False or None, this component will automatically split\nany strings of multiple keywords (spearated by spaces) into separate\nkeywords for searching. This results in a greater liklihood of\nfinding an item in the search but it may not be appropropriate for\nall cases. You may want to set it to True when you are searching for\na specific phrase that includes spaces. Default: False.",
"access": "item",
"type": "bool",
"default": null
}
]
],
"subcategory": "1 :: Modifiers",
"code": "\ntry: # import the honeybee-core dependencies\n from honeybee.search import filter_array_by_keywords\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee:\\n\\t{}'.format(e))\n\ntry: # import the honeybee-radiance dependencies\n from honeybee_radiance.lib.modifiersets import MODIFIER_SETS\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee_radiance:\\n\\t{}'.format(e))\n\ntry:\n from ladybug_{{cad}}.{{plugin}} import turn_off_old_tag\nexcept ImportError as e:\n raise ImportError('\\nFailed to import ladybug_{{cad}}:\\n\\t{}'.format(e))\nturn_off_old_tag(ghenv.Component)\n\n\nif len(keywords_) == 0:\n mod_sets = sorted(MODIFIER_SETS)\nelse:\n split_words = True if join_words_ is None else not join_words_\n mod_sets = sorted(filter_array_by_keywords(MODIFIER_SETS, keywords_, split_words))\n",
"category": "HB-Radiance",
"name": "HB Search Modifier Sets",
"description": "Search for available Mofidier Sets within the honeybee standards library.\n-"
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"description": "Search for available Mofidiers within the honeybee standards library.\n-",
"version": "1.7.2",
"nickname": "SearchMods",
"outputs": [
[
{
"type": null,
"access": "None",
"name": "modifiers",
"description": "A list of modifiers within the honeybee radiance\nstandards library (filtered by keywords_ if they are input).",
"access": "None",
"type": null,
"default": null
}
]
],
"code": "\ntry: # import the honeybee-core dependencies\n from honeybee.search import filter_array_by_keywords\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee:\\n\\t{}'.format(e))\n\ntry: # import the honeybee-radiance dependencies\n from honeybee_radiance.lib.modifiers import MODIFIERS\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee_radiance:\\n\\t{}'.format(e))\n\ntry:\n from ladybug_{{cad}}.{{plugin}} import turn_off_old_tag\nexcept ImportError as e:\n raise ImportError('\\nFailed to import ladybug_{{cad}}:\\n\\t{}'.format(e))\nturn_off_old_tag(ghenv.Component)\n\n\nif len(keywords_) == 0:\n modifiers = sorted(MODIFIERS)\nelse:\n split_words = True if join_words_ is None else not join_words_\n modifiers = sorted(filter_array_by_keywords(MODIFIERS, keywords_, split_words))\n",
"name": "HB Search Mofidiers",
"version": "1.7.1",
"category": "HB-Radiance",
"subcategory": "1 :: Modifiers",
"nickname": "SearchMods",
"inputs": [
{
"type": "string",
"access": "list",
"name": "keywords_",
"description": "Optional keywords to be used to narrow down the output list of\nmodifiers. If nothing is input here, all available modifiers\nwill be output.",
"access": "list",
"type": "string",
"default": null
},
{
"type": "bool",
"access": "item",
"name": "join_words_",
"description": "If False or None, this component will automatically split\nany strings of multiple keywords (spearated by spaces) into separate\nkeywords for searching. This results in a greater liklihood of\nfinding an item in the search but it may not be appropropriate for\nall cases. You may want to set it to True when you are searching for\na specific phrase that includes spaces. Default: False.",
"access": "item",
"type": "bool",
"default": null
}
]
],
"subcategory": "1 :: Modifiers",
"code": "\ntry: # import the honeybee-core dependencies\n from honeybee.search import filter_array_by_keywords\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee:\\n\\t{}'.format(e))\n\ntry: # import the honeybee-radiance dependencies\n from honeybee_radiance.lib.modifiers import MODIFIERS\nexcept ImportError as e:\n raise ImportError('\\nFailed to import honeybee_radiance:\\n\\t{}'.format(e))\n\ntry:\n from ladybug_{{cad}}.{{plugin}} import turn_off_old_tag\nexcept ImportError as e:\n raise ImportError('\\nFailed to import ladybug_{{cad}}:\\n\\t{}'.format(e))\nturn_off_old_tag(ghenv.Component)\n\n\nif len(keywords_) == 0:\n modifiers = sorted(MODIFIERS)\nelse:\n split_words = True if join_words_ is None else not join_words_\n modifiers = sorted(filter_array_by_keywords(MODIFIERS, keywords_, split_words))\n",
"category": "HB-Radiance",
"name": "HB Search Modifiers",
"description": "Search for available Mofidiers within the honeybee standards library.\n-"
}
2 changes: 1 addition & 1 deletion honeybee_grasshopper_radiance/src/HB Custom Sky.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

ghenv.Component.Name = 'HB Custom Sky'
ghenv.Component.NickName = 'CustomSky'
ghenv.Component.Message = '1.7.0'
ghenv.Component.Message = '1.7.1'
ghenv.Component.Category = 'HB-Radiance'
ghenv.Component.SubCategory = '2 :: Light Sources'
ghenv.Component.AdditionalHelpFromDocStrings = '1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
standards library (filtered by keywords_ if they are input).
"""

ghenv.Component.Name = 'HB Search Mofidier Sets'
ghenv.Component.Name = 'HB Search Modifier Sets'
ghenv.Component.NickName = 'SearchModSets'
ghenv.Component.Message = '1.7.1'
ghenv.Component.Message = '1.7.2'
ghenv.Component.Category = 'HB-Radiance'
ghenv.Component.SubCategory = '1 :: Modifiers'
ghenv.Component.AdditionalHelpFromDocStrings = '1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
standards library (filtered by keywords_ if they are input).
"""

ghenv.Component.Name = 'HB Search Mofidiers'
ghenv.Component.Name = 'HB Search Modifiers'
ghenv.Component.NickName = 'SearchMods'
ghenv.Component.Message = '1.7.1'
ghenv.Component.Message = '1.7.2'
ghenv.Component.Category = 'HB-Radiance'
ghenv.Component.SubCategory = '1 :: Modifiers'
ghenv.Component.AdditionalHelpFromDocStrings = '1'
Expand Down
Binary file modified honeybee_grasshopper_radiance/user_objects/HB Custom Sky.ghuser
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7e44e7b

Please sign in to comment.