Skip to content

Commit 969cb92

Browse files
chriswmackeyChris Mackey
authored andcommitted
fix(simulation): Convert list inputs to be strings for now
1 parent 32b3c76 commit 969cb92

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pollination/alias/inputs/simulation.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525

2626
"""Alias for inputs that expect a measures input."""
2727
measures_input = [
28-
InputAlias.list(
28+
InputAlias.any(
2929
name='measures',
3030
description='An optional list of measures to apply to the OpenStudio model '
3131
'upon export. Use the "HB Load Measure" component to load a measure into '
3232
'Grasshopper and assign input arguments. Measures can be downloaded from the '
3333
'NREL Building Components Library (BCL) at (https://bcl.nrel.gov/).',
34-
default=[],
34+
default='',
3535
optional=True,
3636
platform=['grasshopper'],
3737
handler=[
@@ -47,14 +47,14 @@
4747

4848
"""Alias for inputs that expect a IDF string input."""
4949
idf_additional_strings_input = [
50-
InputAlias.list(
50+
InputAlias.any(
5151
name='add_str',
5252
description='THIS OPTION IS JUST FOR ADVANCED USERS OF ENERGYPLUS. '
5353
'An additional text string to be appended to the IDF before '
5454
'simulation. The input should include complete EnergyPlus objects as a '
5555
'single string following the IDF format. This input can be used to include '
5656
'EnergyPlus objects that are not currently supported by honeybee.',
57-
default=[],
57+
default='',
5858
platform=['grasshopper'],
5959
handler=[
6060
IOAliasHandler(
@@ -69,12 +69,12 @@
6969

7070
"""Alias for inputs that expect visualization variables."""
7171
viz_variables_input = [
72-
InputAlias.list(
72+
InputAlias.any(
7373
name='viz_vars',
7474
description='A list of text for EnergyPlus output variables to be visualized '
7575
'on the geometry in an output HTML report. If unspecified, no report is '
7676
'produced. For example, "Zone Air System Sensible Heating Rate".',
77-
default=[],
77+
default='',
7878
platform=['grasshopper'],
7979
handler=[
8080
IOAliasHandler(

0 commit comments

Comments
 (0)