sierra-research 1.2.22__py3-none-any.whl → 1.3.5__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.
Files changed (133) hide show
  1. sierra/__init__.py +1 -13
  2. sierra/core/__init__.py +1 -13
  3. sierra/core/cmdline.py +2 -14
  4. sierra/core/config.py +3 -14
  5. sierra/core/experiment/__init__.py +1 -13
  6. sierra/core/experiment/bindings.py +1 -13
  7. sierra/core/experiment/definition.py +1 -13
  8. sierra/core/experiment/spec.py +1 -13
  9. sierra/core/experiment/xml.py +1 -13
  10. sierra/core/generators/controller_generator_parser.py +1 -13
  11. sierra/core/generators/exp_creator.py +1 -13
  12. sierra/core/generators/exp_generators.py +1 -13
  13. sierra/core/generators/generator_factory.py +1 -13
  14. sierra/core/graphs/heatmap.py +1 -13
  15. sierra/core/graphs/scatterplot2D.py +1 -13
  16. sierra/core/graphs/stacked_line_graph.py +10 -19
  17. sierra/core/graphs/stacked_surface_graph.py +1 -13
  18. sierra/core/graphs/summary_line_graph.py +1 -13
  19. sierra/core/hpc/__init__.py +1 -13
  20. sierra/core/hpc/cmdline.py +1 -13
  21. sierra/core/logging.py +7 -28
  22. sierra/core/models/__init__.py +1 -13
  23. sierra/core/models/graphs.py +1 -14
  24. sierra/core/models/interface.py +1 -13
  25. sierra/core/pipeline/__init__.py +1 -13
  26. sierra/core/pipeline/pipeline.py +1 -13
  27. sierra/core/pipeline/stage1/__init__.py +0 -1
  28. sierra/core/pipeline/stage1/pipeline_stage1.py +1 -13
  29. sierra/core/pipeline/stage2/__init__.py +0 -1
  30. sierra/core/pipeline/stage2/exp_runner.py +5 -17
  31. sierra/core/pipeline/stage2/pipeline_stage2.py +1 -13
  32. sierra/core/pipeline/stage3/__init__.py +0 -1
  33. sierra/core/pipeline/stage3/imagizer.py +3 -14
  34. sierra/core/pipeline/stage3/pipeline_stage3.py +1 -13
  35. sierra/core/pipeline/stage3/run_collator.py +1 -13
  36. sierra/core/pipeline/stage3/statistics_calculator.py +1 -13
  37. sierra/core/pipeline/stage4/__init__.py +2 -3
  38. sierra/core/pipeline/stage4/graph_collator.py +1 -13
  39. sierra/core/pipeline/stage4/inter_exp_graph_generator.py +1 -13
  40. sierra/core/pipeline/stage4/intra_exp_graph_generator.py +1 -13
  41. sierra/core/pipeline/stage4/model_runner.py +1 -13
  42. sierra/core/pipeline/stage4/pipeline_stage4.py +1 -13
  43. sierra/core/pipeline/stage4/rendering.py +1 -13
  44. sierra/core/pipeline/stage4/yaml_config_loader.py +1 -13
  45. sierra/core/pipeline/stage5/__init__.py +0 -1
  46. sierra/core/pipeline/stage5/inter_scenario_comparator.py +1 -13
  47. sierra/core/pipeline/stage5/intra_scenario_comparator.py +1 -14
  48. sierra/core/pipeline/stage5/pipeline_stage5.py +1 -13
  49. sierra/core/platform.py +1 -13
  50. sierra/core/plugin.py +1 -13
  51. sierra/core/plugin_manager.py +1 -13
  52. sierra/core/root_dirpath_generator.py +6 -14
  53. sierra/core/ros1/__init__.py +1 -13
  54. sierra/core/ros1/callbacks.py +1 -13
  55. sierra/core/ros1/cmdline.py +1 -13
  56. sierra/core/ros1/generators.py +1 -13
  57. sierra/core/ros1/variables/__init__.py +1 -13
  58. sierra/core/ros1/variables/exp_setup.py +1 -13
  59. sierra/core/startup.py +6 -17
  60. sierra/core/stat_kernels.py +1 -13
  61. sierra/core/storage.py +1 -13
  62. sierra/core/types.py +1 -13
  63. sierra/core/utils.py +1 -13
  64. sierra/core/variables/__init__.py +1 -13
  65. sierra/core/variables/base_variable.py +1 -13
  66. sierra/core/variables/batch_criteria.py +1 -13
  67. sierra/core/variables/exp_setup.py +1 -13
  68. sierra/core/variables/population_size.py +1 -13
  69. sierra/core/variables/variable_density.py +1 -13
  70. sierra/core/vector.py +1 -13
  71. sierra/main.py +25 -14
  72. sierra/plugins/__init__.py +1 -13
  73. sierra/plugins/hpc/__init__.py +1 -13
  74. sierra/plugins/hpc/adhoc/__init__.py +1 -13
  75. sierra/plugins/hpc/adhoc/plugin.py +1 -13
  76. sierra/plugins/hpc/local/__init__.py +1 -13
  77. sierra/plugins/hpc/local/plugin.py +1 -13
  78. sierra/plugins/hpc/pbs/__init__.py +1 -13
  79. sierra/plugins/hpc/pbs/plugin.py +1 -13
  80. sierra/plugins/hpc/slurm/__init__.py +1 -13
  81. sierra/plugins/hpc/slurm/plugin.py +1 -13
  82. sierra/plugins/platform/__init__.py +1 -13
  83. sierra/plugins/platform/argos/__init__.py +1 -13
  84. sierra/plugins/platform/argos/cmdline.py +1 -13
  85. sierra/plugins/platform/argos/generators/__init__.py +1 -13
  86. sierra/plugins/platform/argos/generators/platform_generators.py +1 -13
  87. sierra/plugins/platform/argos/plugin.py +7 -15
  88. sierra/plugins/platform/argos/variables/__init__.py +1 -13
  89. sierra/plugins/platform/argos/variables/arena_shape.py +1 -13
  90. sierra/plugins/platform/argos/variables/cameras.py +1 -13
  91. sierra/plugins/platform/argos/variables/constant_density.py +1 -13
  92. sierra/plugins/platform/argos/variables/exp_setup.py +1 -13
  93. sierra/plugins/platform/argos/variables/physics_engines.py +1 -13
  94. sierra/plugins/platform/argos/variables/population_constant_density.py +1 -13
  95. sierra/plugins/platform/argos/variables/population_size.py +1 -13
  96. sierra/plugins/platform/argos/variables/population_variable_density.py +1 -13
  97. sierra/plugins/platform/argos/variables/rendering.py +1 -13
  98. sierra/plugins/platform/ros1gazebo/__init__.py +1 -13
  99. sierra/plugins/platform/ros1gazebo/cmdline.py +1 -13
  100. sierra/plugins/platform/ros1gazebo/generators/__init__.py +1 -13
  101. sierra/plugins/platform/ros1gazebo/generators/platform_generators.py +1 -13
  102. sierra/plugins/platform/ros1gazebo/plugin.py +1 -13
  103. sierra/plugins/platform/ros1gazebo/variables/__init__.py +1 -13
  104. sierra/plugins/platform/ros1gazebo/variables/population_size.py +1 -13
  105. sierra/plugins/platform/ros1robot/__init__.py +1 -13
  106. sierra/plugins/platform/ros1robot/cmdline.py +1 -13
  107. sierra/plugins/platform/ros1robot/generators/__init__.py +1 -13
  108. sierra/plugins/platform/ros1robot/generators/platform_generators.py +1 -13
  109. sierra/plugins/platform/ros1robot/plugin.py +1 -13
  110. sierra/plugins/platform/ros1robot/variables/__init__.py +1 -13
  111. sierra/plugins/platform/ros1robot/variables/population_size.py +1 -13
  112. sierra/plugins/robot/__init__.py +1 -13
  113. sierra/plugins/robot/turtlebot3/__init__.py +1 -13
  114. sierra/plugins/robot/turtlebot3/plugin.py +1 -13
  115. sierra/plugins/storage/__init__.py +1 -13
  116. sierra/plugins/storage/csv/__init__.py +1 -13
  117. sierra/plugins/storage/csv/plugin.py +1 -13
  118. sierra/version.py +3 -14
  119. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man1/sierra-cli.1 +6 -5
  120. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-examples.7 +1 -1
  121. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-exec-envs.7 +1 -1
  122. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-glossary.7 +1 -1
  123. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-platforms.7 +1 -1
  124. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-usage.7 +1 -1
  125. {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra.7 +1 -1
  126. sierra_research-1.3.5.dist-info/LICENSE +18 -0
  127. {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/METADATA +10 -16
  128. sierra_research-1.3.5.dist-info/RECORD +133 -0
  129. {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/WHEEL +1 -1
  130. sierra_research-1.2.22.dist-info/LICENSE.md +0 -674
  131. sierra_research-1.2.22.dist-info/RECORD +0 -133
  132. {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/entry_points.txt +0 -0
  133. {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/top_level.txt +0 -0
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Stage 1 of the experimental pipeline: generating experimental inputs.
18
6
 
@@ -1 +0,0 @@
1
- from sierra.core.pipeline.stage2.pipeline_stage2 import PipelineStage2
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 London Lowmanstone, John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  """Classes for executing experiments via the specified ``--exec-env``.
17
5
 
18
6
  """
@@ -219,10 +207,10 @@ class BatchExpRunner:
219
207
  shell)
220
208
  runner(exp, exp_num)
221
209
 
222
- # Run cmds to cleanup platform-specific things now that the experiment
223
- # is done (if needed).
224
- for spec in generator.post_exp_cmds():
225
- shell.run_from_spec(spec)
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)
226
214
 
227
215
 
228
216
  class ExpRunner:
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Stage 2 of the experimental pipeline: running experiments.
18
6
 
@@ -1 +0,0 @@
1
- from sierra.core.pipeline.stage3 import run_collator
@@ -1,18 +1,6 @@
1
1
  # Copyright 2019 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Classes for creating image files from ``.mean`` files for experiments.
18
6
 
@@ -150,7 +138,8 @@ class ExpImagizer:
150
138
  ylabel='Y').generate()
151
139
 
152
140
  else:
153
- self.logger.warning("No match for graph with src_stem=%s found",
141
+ self.logger.warning(("No match for graph with src_stem='%s' "
142
+ "found in configuration"),
154
143
  imagize_opts['graph_stem'])
155
144
 
156
145
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Stage 3 of the experimental pipeline: processing experimental results.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2019 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Classes for collating data within a :term:`Batch Experiment`.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2019 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """
18
6
  Classes for generating statistics within and across experiments in a batch.
@@ -1,3 +1,2 @@
1
- from sierra.core.pipeline.stage4 import inter_exp_graph_generator
2
- from sierra.core.pipeline.stage4 import intra_exp_graph_generator
3
- from sierra.core.pipeline.stage4 import yaml_config_loader
1
+ from . import inter_exp_graph_generator
2
+ from . import intra_exp_graph_generator
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
 
18
6
  # Core packages
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  #
17
5
 
18
6
  """
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 London Lowmanstone, John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  #
17
5
  """
18
6
  Classes for generating graphs within a single :term:`Experiment`.
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 London Lowmanstone, John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  #
17
5
  """Classes for running project-specific :term:`Models <Model>`.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Stage 4 of the experimental pipeline: generating deliverables.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2019 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Classes for rendering frames (images) into videos.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  # Core packages
18
6
  import typing as tp
@@ -1 +0,0 @@
1
- from sierra.core.pipeline.stage5.pipeline_stage5 import PipelineStage5
@@ -1,18 +1,6 @@
1
1
  # Copyright 2019 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Classes for comparing deliverables across a set of scenarios.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2019 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Classes for comparing deliverables within the same scenario.
18
6
 
@@ -689,7 +677,6 @@ class BivarIntraScenarioComparator:
689
677
 
690
678
  for i in range(1, len(paths)):
691
679
  df = reader(paths[i])
692
- print(paths[i])
693
680
  if comp_type == 'HMscale':
694
681
  plot_df = df / ref_df
695
682
  elif comp_type == 'HMdiff':
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Stage 5 of the experimental pipeline: comparing deliverables.
18
6
 
sierra/core/platform.py CHANGED
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  """Terminal interface for pltaform plugins.
17
5
 
18
6
  Classes for generating the commands to run :term:`experiments <Batch
sierra/core/plugin.py CHANGED
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  """Sanity checks for verifying selected plugins.
17
5
 
18
6
  Checks that selected plugins implement the necessary classes and
@@ -1,18 +1,6 @@
1
1
  # Copyright 2020 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  """Simple plugin managers to make SIERRA OPEN/CLOSED.
17
5
 
18
6
  """
@@ -1,18 +1,6 @@
1
1
  # Copyright 2018 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Functions for generating root directory paths for a batch experiment.
18
6
 
@@ -197,7 +185,11 @@ def gen_batch_root(root: str,
197
185
 
198
186
  """
199
187
  batch_leaf = gen_batch_leaf(criteria, template_stem, scenario)
200
- sierra_root = pathlib.Path(root).resolve()
188
+
189
+ # Don't reslove() the path--that makes symlinked dirs under $HOME through
190
+ # errors which are fatal from pathlib's POV, but actually harmless.
191
+ sierra_root = pathlib.Path(root)
192
+
201
193
  return sierra_root / project / controller / batch_leaf
202
194
 
203
195
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  # Core packages
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  #
17
5
  """Common classes and callbacks :term:`Platforms <Platform>` using :term:`ROS1`.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  #
17
5
  """Common cmdline classes :term:`Platforms <Platform>` using :term:`ROS1`.
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
  """Classes for generating XML changes common to all :term:`ROS1` platforms.
17
5
 
18
6
  I.e., changes which are platform-specific, but applicable to all projects using
@@ -1,18 +1,6 @@
1
1
  # Copyright 2022 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  # Core packages
18
6
 
@@ -1,18 +1,6 @@
1
1
  # Copyright 2021 John Harwell, All rights reserved.
2
2
  #
3
- # This file is part of SIERRA.
4
- #
5
- # SIERRA is free software: you can redistribute it and/or modify it under the
6
- # terms of the GNU General Public License as published by the Free Software
7
- # Foundation, either version 3 of the License, or (at your option) any later
8
- # version.
9
- #
10
- # SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
11
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12
- # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along with
15
- # SIERRA. If not, see <http://www.gnu.org/licenses/
3
+ # SPDX-License-Identifier: MIT
16
4
 
17
5
  """Classes for the ``--exp-setup`` cmdline option for ROS1 platforms.
18
6