Skip to content

Commit

Permalink
changed file path to _core folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaPieri committed Aug 21, 2023
1 parent 774e095 commit 6de566c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nlgmetricverse/metrics/_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ def filter_metrics(category: Categories = None, appl_task: ApplTasks = None,
def get_metric_bounds(metric):
assert isinstance(metric, str)
root = os.getcwd()
os.chdir(os.path.join(METRICS_ROOT, metric, "_core"))
#file path to the metric _core
os.chdir(os.path.join(METRICS_ROOT, "_core"))
f = open('list_metrics.json')
data = json.load(f)
upper_bound = 0
Expand Down

0 comments on commit 6de566c

Please sign in to comment.