Skip to content

Commit

Permalink
build image feature volumes from "volumes" field
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetNSimsek committed Apr 9, 2024
1 parent 5845cbc commit 36002ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions siibra/configuration/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def build_cell_density_profile(cls, spec):
@classmethod
@build_type("siibra/feature/section/v0.1")
def build_section(cls, spec):
vol = cls.build_volume(spec)
vol = cls.build_volume(spec["volumes"])
kwargs = {
"name": spec.get('name', ""),
"region": spec.get('region', None),
Expand All @@ -422,7 +422,7 @@ def build_section(cls, spec):
@classmethod
@build_type("siibra/feature/voi/v0.1")
def build_volume_of_interest(cls, spec):
vol = cls.build_volume(spec)
vol = cls.build_volume(spec["volumes"])
kwargs = {
"name": spec.get('name', ""),
"region": spec.get('region', None),
Expand Down

0 comments on commit 36002ee

Please sign in to comment.