Some files do not have any tags (e.g. the case for some inD). If xmlroot/tags is not set (empty), tags_split == None. None.split() then throws an error.
Proposal:
It should check for None and return an empty set instead.
this is no real bug within commonroad-io since the tag is a mandatory element in the scenario XML.
We will update the dataset converter so that scenarios created from the inD dataset contain valid tags.
I think the scenarios files acctually do look okay. is there an issue because of self._tree.getroot().get('tags') instead of self._tree.getroot().get('scenarioTags')
2018b scenarios contained the tag inside the header. This changed with the 2020a version where scenarioTags was added to the xml main part. Therefore, the old tag should only be evaluated for the 2018b scenarios which is checked here.