def select_profile(self, profile_email=None):

        # No investing JSON
        if self.investing_json is None or 'profiles' not in self.investing_json:
            return False

        # Reset investing settings from defaults
        self.investing = self.get_default_investing_settings()

        # Get profile email from auth
        if profile_email is None:
            if self.auth['email'] is None:
                profile_email = 'none'
            profile_email = self.auth['email']

        self.logger.debug('Select investing profile: {0}'.format(profile_email))

        # Get profile
        profile = None
        if profile_email in self.investing_json['profiles']:
            profile = self.investing_json['profiles'][profile_email]
        elif 'none' in self.investing_json['profiles']:
            profile = self.investing_json['profiles']['none']

        self.logger.debug('Load profile: {0}'.format(profile))

        # Load profile
        if profile:

            # Load saved filter
            if 'filter_id' in profile and profile['filter_id']:
                profile['filter'] = False

            # Add values to dictionary
            for key, value in self.investing.iteritems():
                if key in profile:
                    self.investing[key] = profile[key]
                    self.is_dirty = True

            # Create filter object
            try:
                if self.investing['filters'] and type(self.investing['filters']) is dict and len(self.investing['filters']) > 0:
                    self.investing['filters'] = Filter(filters=self.investing['filters'])
                elif self.investing['filter_id']:
                    pass
                else:
                    self.investing['filters'] = False
            except Exception as e:
                raise Exception('Could load filter settings: {0}'.format(str(e)))

            self.profile_loaded = True
            return True

        return False
List all Slack rooms.
dataset/ETHPy150Open jgillick/LendingClubAutoInvestor/lcinvestor/settings/__init__.py/Settings.select_profile--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/slack_notify.py/list_rooms