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.
- {stepss-3.81.2/stepss.egg-info → stepss-3.82}/PKG-INFO +1 -1
- {stepss-3.81.2 → stepss-3.82}/stepss/__init__.py +1 -1
- {stepss-3.81.2 → stepss-3.82}/stepss/_bundled.py +1 -1
- {stepss-3.81.2 → stepss-3.82}/stepss/libs/lin/ramses.so +0 -0
- stepss-3.82/stepss/libs/mac/ramses.so +0 -0
- stepss-3.82/stepss/libs/win/ramses.dll +4 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/ssa.py +15 -4
- {stepss-3.81.2 → stepss-3.82/stepss.egg-info}/PKG-INFO +1 -1
- stepss-3.81.2/stepss/libs/mac/ramses.so +0 -0
- stepss-3.81.2/stepss/libs/win/ramses.dll +0 -4
- {stepss-3.81.2 → stepss-3.82}/LICENSE.rst +0 -0
- {stepss-3.81.2 → stepss-3.82}/MANIFEST.in +0 -0
- {stepss-3.81.2 → stepss-3.82}/README.rst +0 -0
- {stepss-3.81.2 → stepss-3.82}/setup.cfg +0 -0
- {stepss-3.81.2 → stepss-3.82}/setup.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/cases.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/extractor.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/globals.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/helios.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/libs/helios_api.h +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/libs/lin/libhelios_api.so +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/libs/mac/libhelios_api.dylib +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/libs/ramses.h +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/libs/win/helios_api.dll +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/live.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/scripts/__init__.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/scripts/exec.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss/simulator.py +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/SOURCES.txt +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/dependency_links.txt +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/entry_points.txt +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/requires.txt +0 -0
- {stepss-3.81.2 → stepss-3.82}/stepss.egg-info/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -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:`
|
|
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
|
|
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
|
|
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
|
|
|
Binary file
|
|
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
|
|
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
|