Skip to content

Commit

Permalink
issue #117 (#118)
Browse files Browse the repository at this point in the history
move EnvironmentCoordinates to events.json
  • Loading branch information
julia-pfarr authored Jan 22, 2025
1 parent 71df666 commit e854311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eye2bids/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def update_from_metadata(self, metadata: None | dict[str, Any] = None) -> None:
if metadata is None:
return None

self["EnvironmentCoordinates"] = metadata.get("EnvironmentCoordinates")
self["TaskName"] = metadata.get("TaskName")
self["InstitutionAddress"] = metadata.get("InstitutionAddress")
self["InstitutionName"] = metadata.get("InstitutionName")
Expand Down Expand Up @@ -168,7 +169,6 @@ def update_from_metadata(self, metadata: None | dict[str, Any] = None) -> None:
if metadata is None:
return None

self["EnvironmentCoordinates"] = metadata.get("EnvironmentCoordinates")
self["SoftwareVersion"] = metadata.get("SoftwareVersion")
self["EyeCameraSettings"] = metadata.get("EyeCameraSettings")
self["EyeTrackerDistance"] = metadata.get("EyeTrackerDistance")
Expand Down

0 comments on commit e854311

Please sign in to comment.