ravens/environment.py
def is_bag_env(self):
        """Keep this updated when I adjust environment names."""
        return (isinstance(self.task, tasks.names['bag-alone-open']) or
                isinstance(self.task, tasks.names['bag-items-easy']) or
                isinstance(self.task, tasks.names['bag-items-hard']) or
                isinstance(self.task, tasks.names['bag-color-goal']))
Keep this updated when I adjust environment names.
Keep this updated when I adjust environment names.
Keep this updated when I adjust environment names .
def is_bag_env(self):
        return (isinstance(self.task, tasks.names['bag-alone-open']) or
                isinstance(self.task, tasks.names['bag-items-easy']) or
                isinstance(self.task, tasks.names['bag-items-hard']) or
                isinstance(self.task, tasks.names['bag-color-goal']))
def is_bag_env ( self ) : return ( isinstance ( self . task , tasks . names [ 'bag-alone-open' ] ) or isinstance ( self . task , tasks . names [ 'bag-items-easy' ] ) or isinstance ( self . task , tasks . names [ 'bag-items-hard' ] ) or isinstance ( self . task , tasks . names [ 'bag-color-goal' ] ) )
Keep this updated when I adjust environment names.
Keep this updated when I adjust environment names .
"""Keep this updated when I adjust environment names."""
self