Anypytools

Latest version: v1.13.0

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 13

0.14

**Fixed:**

- Make sure anypytools works in IPython/Jupyter even when ipywidgets is not installed.
- Fix problem with dump'ing variables which are references in the AnyBody Output structure. Now
the variables will have the same name in the output as given in the dump command.
- Fix problem with log-files beeing removed if AnyBody crashed or exited unexpectedly.

**Added:**

- Added a simple functionality to save hdf5 files from the pytest plugin.

0.13

**Fixed:**

- Fix regression in for {class}`AnyPyTools.macro_comands.SetValue_random` which caused a
crash when generating macros.

0.12

**Fixed:**

- Missing newlines in error output from pytest plugin.
- Fix a problem where the `ignore_errors` argument to {class}`AnyPyProcess()` could
not filter warnings when they were considered as errors with the `fatal_warnings`
arguments.

**Changed:**

- Better error message when `anybodycon.exe` can not be found.

0.11.1

**New:**

- Pytest plugin adds support for specifying `warnings_to_include`,
`fatal_warnings` in the header of AnyScript test files.

**Changed:**

- The output from pytest plugin is restructured to be more readable.

0.11.0

**New:**

- Added option to the set the priority of the macro operations.
The option is an argument to {class}`AnyPyProcess()`.

python
from anypytools import IDLE_PRIORITY_CLASS

app = AnyPyProcess(priority = IDLE_PRIORITY_CLASS)


Default is `BELOW_NORMAL_PRIORITY_CLASS`, and possible values are

- `IDLE_PRIORITY_CLASS`
- `BELOW_NORMAL_PRIORITY_CLASS`
- `NORMAL_PRIORITY_CLASS`
- `ABOVE_NORMAL_PRIORITY_CLASS`.

- Added argument `fatal_warnings` to {class}`AnyPyProcess()` which
treat warnings as errors when running macros.

python
app = AnyPyProces(warnings_to_include=['OBJ.MCH.KIN9'], fatal_warnings=True)


The argument will only triggers for specific warnings given
by `warnings_to_include` argument.

**Changed:**

- Macro operation now run with slightly lower priority (BELOW_NORMAL_PRIORITY_CLASS) to prevent
Windows to become unusable when running many processes.

**Fixed:**

- Fixed a bug preventing really large variables to be read by AnyPyTools. The AnyBody Modeling System
could split really large data matrixes across several lines in the log files which meant they
were not picked up. The function {func}`anypytools.tools.parse_anybodycon_output` has been
rewritten to fix this.

**Removed:**

- The AnyScript Pygments plugin is no longer part of AnyPyTools. It now has its own library
[pygments_anyscript](https://pypi.python.org/pypi/pygments-anyscript).

0.10.10

**fixed:**

- Fix crash when `--define` option was not provided.

Page 9 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.