Skip to content

Commit

Permalink
Update abspath in get_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s-goldman committed Dec 12, 2023
1 parent 6eb9d9a commit 24af972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desk/set_up/get_models.py
Expand Up @@ -189,7 +189,7 @@ def return_model_grid(_model_grid_name : str, testing : bool, respond : bool):
else:
if (grid in config.grids) | (grid in config.external_grids):
grid_dusty, grid_outputs = return_model_grid(grid, testing, respond)
elif (grid in [x.split('_')[0] for x in os.listdir('desk/models/')]):
elif (grid in [x.split('_')[0] for x in os.listdir(os.path.abspath('desk/models/'))]):
grid_dusty, grid_outputs = return_model_grid(grid, testing, respond)
else:
raise ValueError(
Expand Down

0 comments on commit 24af972

Please sign in to comment.