stepss 3.81.2__tar.gz → 3.82__tar.gz

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 (33) hide show
  1. {stepss-3.81.2/stepss.egg-info → stepss-3.82}/PKG-INFO +1 -1
  2. {stepss-3.81.2 → stepss-3.82}/stepss/__init__.py +1 -1
  3. {stepss-3.81.2 → stepss-3.82}/stepss/_bundled.py +1 -1
  4. {stepss-3.81.2 → stepss-3.82}/stepss/libs/lin/ramses.so +0 -0
  5. stepss-3.82/stepss/libs/mac/ramses.so +0 -0
  6. stepss-3.82/stepss/libs/win/ramses.dll +4 -0
  7. {stepss-3.81.2 → stepss-3.82}/stepss/ssa.py +15 -4
  8. {stepss-3.81.2 → stepss-3.82/stepss.egg-info}/PKG-INFO +1 -1
  9. stepss-3.81.2/stepss/libs/mac/ramses.so +0 -0
  10. stepss-3.81.2/stepss/libs/win/ramses.dll +0 -4
  11. {stepss-3.81.2 → stepss-3.82}/LICENSE.rst +0 -0
  12. {stepss-3.81.2 → stepss-3.82}/MANIFEST.in +0 -0
  13. {stepss-3.81.2 → stepss-3.82}/README.rst +0 -0
  14. {stepss-3.81.2 → stepss-3.82}/setup.cfg +0 -0
  15. {stepss-3.81.2 → stepss-3.82}/setup.py +0 -0
  16. {stepss-3.81.2 → stepss-3.82}/stepss/cases.py +0 -0
  17. {stepss-3.81.2 → stepss-3.82}/stepss/extractor.py +0 -0
  18. {stepss-3.81.2 → stepss-3.82}/stepss/globals.py +0 -0
  19. {stepss-3.81.2 → stepss-3.82}/stepss/helios.py +0 -0
  20. {stepss-3.81.2 → stepss-3.82}/stepss/libs/helios_api.h +0 -0
  21. {stepss-3.81.2 → stepss-3.82}/stepss/libs/lin/libhelios_api.so +0 -0
  22. {stepss-3.81.2 → stepss-3.82}/stepss/libs/mac/libhelios_api.dylib +0 -0
  23. {stepss-3.81.2 → stepss-3.82}/stepss/libs/ramses.h +0 -0
  24. {stepss-3.81.2 → stepss-3.82}/stepss/libs/win/helios_api.dll +0 -0
  25. {stepss-3.81.2 → stepss-3.82}/stepss/live.py +0 -0
  26. {stepss-3.81.2 → stepss-3.82}/stepss/scripts/__init__.py +0 -0
  27. {stepss-3.81.2 → stepss-3.82}/stepss/scripts/exec.py +0 -0
  28. {stepss-3.81.2 → stepss-3.82}/stepss/simulator.py +0 -0
  29. {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/SOURCES.txt +0 -0
  30. {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/dependency_links.txt +0 -0
  31. {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/entry_points.txt +0 -0
  32. {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/requires.txt +0 -0
  33. {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stepss
3
- Version: 3.81.2
3
+ Version: 3.82
4
4
  Summary: Python interface to the STEPSS power-system simulation platform.
5
5
  Home-page: https://stepss.sps-lab.org
6
6
  Author: Petros Aristidou
@@ -25,7 +25,7 @@ Module-level flags set at import time:
25
25
  """
26
26
 
27
27
  __package_name__ = "stepss"
28
- __version__ = '3.81.2'
28
+ __version__ = '3.82'
29
29
  __author__ = "Petros Aristidou"
30
30
  __copyright__ = "Petros Aristidou"
31
31
  __license__ = "Apache-2.0"
@@ -9,5 +9,5 @@ RAMSES_VERSION is also what the stepss version number is built from, so the
9
9
  leading components of __version__ always name the library bundled here.
10
10
  """
11
11
 
12
- RAMSES_VERSION = "v3.81"
12
+ RAMSES_VERSION = "v3.82"
13
13
  HELIOS_VERSION = "v1.4.1"
Binary file
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: stepss-3.82/stepss/libs/win/ramses.dll
3
+ size: 43951130 bytes
4
+ sha256: eb8591a3d398994c1499da8873228af00116a3e59ab82aa26ae778625f6456a9
@@ -47,7 +47,7 @@ from .globals import RAMSESError
47
47
 
48
48
  __all__ = [
49
49
  'Results', 'ModeView', 'Participation', 'ModeShapeEntry', 'Manifest',
50
- 'run', 'load', 'basenames', 'save', 'load_archive',
50
+ 'run', 'load', 'basenames', 'save_archive', 'save', 'load_archive',
51
51
  'valid_basename', 'check_time', 'settings_text', 'settings_name',
52
52
  'disturbance_text', 'disturbance_name', 'members', 'clear_previous_run',
53
53
  'FORMAT_VERSION', 'ARCHIVE_FORMAT_VERSION', 'MANIFEST_NAME', 'MODE_DTYPE',
@@ -715,7 +715,7 @@ class Results(object):
715
715
  print(' participation written down to %g ($PF_THRES)' % self.pf_floor)
716
716
 
717
717
  def save(self, path, saved_by=None):
718
- """Write this run to a ``.ssa`` archive. See :func:`save`.
718
+ """Write this run to a ``.ssa`` archive. See :func:`save_archive`.
719
719
 
720
720
  :param path: where to write it
721
721
  :type path: str or pathlib.Path
@@ -724,7 +724,7 @@ class Results(object):
724
724
  :returns: the member names that were not on disk
725
725
  :rtype: list of str
726
726
  """
727
- return save(self, path, saved_by)
727
+ return save_archive(self, path, saved_by)
728
728
 
729
729
  def splane(self, **kwargs):
730
730
  """Draw every mode. See :meth:`ModeView.splane`.
@@ -1477,7 +1477,7 @@ def _float_or_none(token):
1477
1477
  return None
1478
1478
 
1479
1479
 
1480
- def save(results, path, saved_by=None):
1480
+ def save_archive(results, path, saved_by=None):
1481
1481
  """Write one run to a ``.ssa`` archive the graphical interface can open.
1482
1482
 
1483
1483
  The format is chosen from the file name: ``.tar.gz`` or ``.tgz`` for a
@@ -1555,6 +1555,17 @@ def save(results, path, saved_by=None):
1555
1555
  return absent
1556
1556
 
1557
1557
 
1558
+ #: The writer's old name, kept because v3.81.1 and v3.81.2 shipped under it.
1559
+ #:
1560
+ #: The pair reads better as ``load_archive``/``save_archive``: someone who has
1561
+ #: just written one and wants the other looks for the matching name rather than
1562
+ #: for the shorter one, and the reason ``save`` needed no qualifier, that this
1563
+ #: module writes only archives while it loads from two places, is invisible at
1564
+ #: the call site. :meth:`Results.save` keeps its short name, since on a run
1565
+ #: object there is only one thing saving can mean.
1566
+ save = save_archive
1567
+
1568
+
1558
1569
  def load_archive(path, into=None):
1559
1570
  """Unpack a ``.ssa`` archive and read the run in it.
1560
1571
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stepss
3
- Version: 3.81.2
3
+ Version: 3.82
4
4
  Summary: Python interface to the STEPSS power-system simulation platform.
5
5
  Home-page: https://stepss.sps-lab.org
6
6
  Author: Petros Aristidou
Binary file
@@ -1,4 +0,0 @@
1
- [diffend] Oversized file quarantined before diffing.
2
- name: stepss-3.81.2/stepss/libs/win/ramses.dll
3
- size: 43950966 bytes
4
- sha256: ce00a5cec62c9fa5d2f260b30aece6f316e2fcede93aa81cb772d305ef488757
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes