Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
muchvo committed Mar 26, 2023
1 parent 861cef1 commit bb9bee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omnisafe/common/statistics_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class StatisticsTools:
"""Analyze experiments results launched by experiment grid.
Users can choose any parameters to compare the results.
Aimming to help users to find the best hyperparameters faster.
Aiming to help users to find the best hyperparameters faster.
"""

def __init__(self) -> None:
Expand Down Expand Up @@ -122,7 +122,7 @@ def draw_graph(
for k, v in img_name_cfgs.items():
update_dic(decompressed_img_name_cfgs, self.decompress_key(k, v[0]))
save_name = (
param[:10]
param[:10] # pylint: disable=undefined-loop-variable
+ '---'
+ decompressed_img_name_cfgs['env_id'][:30]
+ ':::'
Expand Down Expand Up @@ -186,7 +186,7 @@ def make_config_groups(self, parameter, parameter_values: list, values: list, co
group_config.pop('seed')

# combine all possible combinations of other parameters
# fix them in a single graph and only vary values of parameter which is speicified by us
# fix them in a single graph and only vary values of parameter which is specified by us
for pinned_config in self.dict_permutations(group_config):
group_config.update(pinned_config)
for compare_value in parameter_values_combination:
Expand Down

0 comments on commit bb9bee5

Please sign in to comment.