sierra-research 1.3.1__py3-none-any.whl → 1.3.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sierra/core/config.py +1 -1
- sierra/core/graphs/stacked_line_graph.py +9 -6
- sierra/core/models/graphs.py +0 -1
- sierra/core/pipeline/stage2/exp_runner.py +4 -4
- sierra/core/pipeline/stage3/imagizer.py +2 -1
- sierra/core/pipeline/stage4/__init__.py +2 -0
- sierra/core/startup.py +1 -0
- sierra/core/utils.py +1 -1
- sierra/main.py +1 -1
- sierra/version.py +1 -1
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man1/sierra-cli.1 +134 -134
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man7/sierra-examples.7 +15 -15
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man7/sierra-exec-envs.7 +12 -12
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man7/sierra-glossary.7 +12 -12
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man7/sierra-platforms.7 +31 -31
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man7/sierra-usage.7 +56 -56
- {sierra_research-1.3.1.data → sierra_research-1.3.6.data}/data/share/man/man7/sierra.7 +5 -5
- {sierra_research-1.3.1.dist-info → sierra_research-1.3.6.dist-info}/METADATA +7 -6
- {sierra_research-1.3.1.dist-info → sierra_research-1.3.6.dist-info}/RECORD +23 -23
- {sierra_research-1.3.1.dist-info → sierra_research-1.3.6.dist-info}/WHEEL +1 -1
- {sierra_research-1.3.1.dist-info → sierra_research-1.3.6.dist-info}/LICENSE +0 -0
- {sierra_research-1.3.1.dist-info → sierra_research-1.3.6.dist-info}/entry_points.txt +0 -0
- {sierra_research-1.3.1.dist-info → sierra_research-1.3.6.dist-info}/top_level.txt +0 -0
sierra/core/config.py
CHANGED
@@ -181,7 +181,7 @@ class StackedLineGraph:
|
|
181
181
|
# which is more amenable to inclusion in academic papers.
|
182
182
|
|
183
183
|
# If the legend is not specified, then we assume this is not a graph
|
184
|
-
# that will contain any models.
|
184
|
+
# that will contain any models and/or no legend is desired.
|
185
185
|
legend = self.legend
|
186
186
|
|
187
187
|
if self.legend is not None:
|
@@ -197,21 +197,24 @@ class StackedLineGraph:
|
|
197
197
|
ncol=1,
|
198
198
|
fontsize=self.text_size['legend_label'])
|
199
199
|
else:
|
200
|
-
ax.legend(
|
201
|
-
|
202
|
-
|
203
|
-
|
200
|
+
ax.legend().remove()
|
201
|
+
# ax.legend(loc='lower center',
|
202
|
+
# bbox_to_anchor=(0.5, -0.5),
|
203
|
+
# ncol=1,
|
204
|
+
# fontsize=self.text_size['legend_label'])
|
204
205
|
|
205
206
|
def _read_stats(self) -> tp.Dict[str, pd.DataFrame]:
|
206
207
|
dfs = {}
|
208
|
+
|
207
209
|
reader = storage.DataFrameReader('storage.csv')
|
208
210
|
if self.stats in ['conf95', 'all']:
|
209
211
|
exts = config.kStats['conf95'].exts
|
212
|
+
|
210
213
|
for k in exts:
|
211
214
|
ipath = self.stats_root / (self.input_stem + exts[k])
|
212
215
|
|
213
216
|
if utils.path_exists(ipath):
|
214
|
-
dfs[
|
217
|
+
dfs[k] = reader(ipath)
|
215
218
|
else:
|
216
219
|
self.logger.warning("%sfile not found for '%s'",
|
217
220
|
exts[k],
|
sierra/core/models/graphs.py
CHANGED
@@ -207,10 +207,10 @@ class BatchExpRunner:
|
|
207
207
|
shell)
|
208
208
|
runner(exp, exp_num)
|
209
209
|
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
210
|
+
# Run cmds to cleanup platform-specific things now that the experiment
|
211
|
+
# is done (if needed).
|
212
|
+
for spec in generator.post_exp_cmds():
|
213
|
+
shell.run_from_spec(spec)
|
214
214
|
|
215
215
|
|
216
216
|
class ExpRunner:
|
@@ -138,7 +138,8 @@ class ExpImagizer:
|
|
138
138
|
ylabel='Y').generate()
|
139
139
|
|
140
140
|
else:
|
141
|
-
self.logger.warning("No match for graph with src_stem
|
141
|
+
self.logger.warning(("No match for graph with src_stem='%s' "
|
142
|
+
"found in configuration"),
|
142
143
|
imagize_opts['graph_stem'])
|
143
144
|
|
144
145
|
|
sierra/core/startup.py
CHANGED
sierra/core/utils.py
CHANGED
@@ -365,7 +365,7 @@ def df_fill(df: pd.DataFrame, policy: str) -> pd.DataFrame:
|
|
365
365
|
|
366
366
|
|
367
367
|
@retry(OSError, tries=10, delay=0.100, backoff=1.1) # type:ignore
|
368
|
-
def pickle_dump(obj: object, f
|
368
|
+
def pickle_dump(obj: object, f) -> None:
|
369
369
|
pickle.dump(obj, f)
|
370
370
|
|
371
371
|
|
sierra/main.py
CHANGED
@@ -52,7 +52,7 @@ class SIERRA():
|
|
52
52
|
project = bootstrap_args.project
|
53
53
|
plugin_core_path = [install_root / 'plugins' / 'hpc',
|
54
54
|
install_root / 'plugins' / 'storage',
|
55
|
-
install_root / 'plugins' / '
|
55
|
+
install_root / 'plugins' / 'robot',
|
56
56
|
install_root / 'plugins' / 'platform']
|
57
57
|
plugin_search_path = plugin_core_path
|
58
58
|
env = os.environ.get('SIERRA_PLUGIN_PATH')
|
sierra/version.py
CHANGED