Skip to content

Commit

Permalink
Merge commit 'b63477a1088e523cb4e25ce2443e61f29f99c6c3'
Browse files Browse the repository at this point in the history
  • Loading branch information
leonfoks committed Dec 5, 2023
2 parents d52a87a + b63477a commit 9a5b846
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gspy/src/utilities/aseg_gdf_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,14 @@ def parse_dfn_file(self, dfn_file_name):
dfn_md = {}
for line in lines[1:]:
if "END DEFN" in line:
break
line = line.replace(";END DEFN", "")

info = line.split(";")[-1]
tmp = info.split(":")

if len(tmp) == 1:
break

standard_name, format = tmp[:2]

if ' ' in standard_name:
Expand Down

0 comments on commit 9a5b846

Please sign in to comment.