Skip to content

Commit

Permalink
update method tagged for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamaedler committed Feb 11, 2025
1 parent 664353b commit c4b8df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scportrait/pipeline/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def load_input_from_sdata(
for elem in all_elements:
dict_elems[elem] = sdata_input[elem]

sdata = SpatialData.from_elements_dict(dict_elems)
sdata = SpatialData.init_from_elements(dict_elems)
sdata.write(self.sdata_path, overwrite=True)

# update project status
Expand Down

0 comments on commit c4b8df7

Please sign in to comment.