Skip to content

Commit

Permalink
Fix bug in data fetching from remote folder
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Jan 1, 2024
1 parent c2b6e08 commit 2574cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_aurora/utils/cycling_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def get_data_from_remote(source: RemoteData) -> dict:
The post-processed data dictionary.
"""
try:
remote_path = source.get_attribute("remote_path")
remote_path = source.attributes["remote_path"]
with open(f"{remote_path}/snapshot.json") as file:
return get_data_from_file(file)
except Exception:
Expand Down

0 comments on commit 2574cc0

Please sign in to comment.