def newSubData(self, key):
        """
            if key is not in database
            create a new database (sqlitedict)
            which can be queried from this one
            via the key specified 
            
            this will automatically create a new
            file where the filename is internally
            managed (simple increasing number)   
        """
        self.need_open()
        if not self.db in key:
            d = {'name': self._new_rand_file_name(make_dir=True),
                 'magic': MAGIC_SIGN}
            self.db[key] = d
            self.db.commit()
            return PersistentDataStructure(name = d['name'], path = os.path.join(self._dirname) , verbose = self.verbose)
        else:
            raise RuntimeError("can NOT create new SubData, key already found!")
dataset/ETHPy150Open cimatosa/jobmanager/jobmanager/persistentData.py/PersistentDataStructure.newSubData/swapped operands of `in`