File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,18 +39,20 @@ def visualize_before_fit(
3939
4040 if analysis .positions_likelihood_list is not None :
4141
42- positions_list = []
42+ if analysis . positions_likelihood_list [ 0 ] is not None :
4343
44- for positions_likelihood in analysis . positions_likelihood_list :
44+ positions_list = []
4545
46- positions_list .append (
47- positions_likelihood .positions
48- )
46+ for positions_likelihood in analysis .positions_likelihood_list :
47+
48+ positions_list .append (
49+ positions_likelihood .positions
50+ )
4951
50- positions = ag .Grid2DIrregular (positions_list )
52+ positions = ag .Grid2DIrregular (positions_list )
5153
52- plotter_interface .image_with_positions (
53- image = analysis .dataset .data ,
54+ plotter_interface .image_with_positions (
55+ image = analysis .dataset .data ,
5456 positions = positions ,
5557 )
5658
You can’t perform that action at this time.
0 commit comments