def res_top_type(topic_or_topics):
    if isint(topic_or_topics):
        topic_or_topics = [topic_or_topics]

    return topic_or_topics
If `topic_or_topics` is an int, then returns it in a list.
dataset/ETHPy150Open inpho/vsm/vsm/viewer/types.py/res_top_type