Skip to content

Commit

Permalink
small format
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed Dec 22, 2024
1 parent f911850 commit 153d059
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions shaketune/graph_creators/graph_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ def _save_figure(
filename = self._folder / f"{self._type.replace(' ', '')}_{self._graph_date}{axis_suffix}"
fig.savefig(f'{filename}.png', dpi=self._config.dpi)

if (
self._config.keep_raw_data
and os.environ.get('SHAKETUNE_IN_CLI') != '1'
):
if self._config.keep_raw_data and os.environ.get('SHAKETUNE_IN_CLI') != '1':
measurements_manager.save_stdata(f'{filename}.stdata')

def get_type(self) -> str:
Expand Down

0 comments on commit 153d059

Please sign in to comment.