Skip to content

Commit

Permalink
Remove automatic plotting unless in xi_rprt mode
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed May 20, 2024
1 parent cc5d78a commit 68831ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vega/vega_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,16 @@ def __init__(self, main_path):
# Initialize the output object
self.output = Output(self.main_config['output'], self.data, self.corr_items, self.analysis)

# Initialize mode
self.mode = 'xi_rprt'
for corr_item in self.corr_items.values():
if corr_item.mode != 'xi_rprt':
self.mode = corr_item.mode

# Initialize vega plots
self.monte_carlo = False
self.plots = None
if self._has_data:
if self._has_data and self.mode == 'xi_rprt':
self.plots = VegaPlots(vega_data=self.data)

def compute_model(self, params=None, run_init=True, direct_pk=None):
Expand Down

0 comments on commit 68831ef

Please sign in to comment.