Commit fc0de03e authored by Branson Stephens's avatar Branson Stephens

Fixed bug with regard to comma-separated strings in the EMObservation creator.

parent 3e9b1e84
...@@ -36,6 +36,7 @@ KNOWN_TEST_HOSTS = ['moe.phys.uwm.edu', 'embb-dev.ligo.caltech.ed', 'simdb.phys. ...@@ -36,6 +36,7 @@ KNOWN_TEST_HOSTS = ['moe.phys.uwm.edu', 'embb-dev.ligo.caltech.ed', 'simdb.phys.
# That would make putting our lists into comma-separated strings # That would make putting our lists into comma-separated strings
# unnecessary. # unnecessary.
def cleanListInput(list_arg): def cleanListInput(list_arg):
stringified_list = list_arg
if isinstance(list_arg, float) or isinstance(list_arg, int): if isinstance(list_arg, float) or isinstance(list_arg, int):
stringified_value = str(list_arg) stringified_value = str(list_arg)
return stringified_value return stringified_value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment