Merge pull request #9466 from galaxyproject/topic/options_filter_attribute_str

fix options_filter_attribute: needs to be str
This commit is contained in:
John Chilton
2020-03-03 09:50:15 -05:00
committed by GitHub
+1 -1
View File
@@ -1913,7 +1913,7 @@ class DataToolParameter(BaseDataToolParameter):
ref = getattr(ref, attribute)
if call_attribute:
ref = ref()
return ref
return str(ref)
def to_dict(self, trans, other_values={}):
# create dictionary and fill default parameters