Anypytools

Latest version: v1.13.0

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

Scan your dependencies

Page 5 of 13

1.7.0

**Added:**

- AnyPyTools can now be used on linux if the AnyBody Modeling System is installed using wine.

1.6.0

**Changed**:

- The `to_dataframe()` methods have been updated.
They now return a dataframe without an index by default.

They also now support interpolation of the data.

python
app = AnyPyProcess()
results = app.start_marco(macro_list)

df = results.to_dataframe(
interp_var="Main.MyStudy.Output.Abscissa.t",
interp_val=linspace(0,1,50)
)


**Added**:

- Documentation on how to use the `to_dataframe()` method has been added to the tutorials.

1.5.0

Add methods for exporing simuation output as a pandas dataframe.

python
app = AnyPyProcess()
results = app.start_marco(macro_list)

df = results.to_dataframe(index_var="Main.MyStudy.Output.Abscissa.t")


The data has too be consistent across all macros. That means that the
`index_var` must be present in all simulations. Also note that since
pandas dataframes are 2D any 3D data will be flattened. For example 3D vectors
which will be saved into three columns in the dataframe. E.g. `r[0]`, `r[1]`, `r[2]`.

1.4.7

Ensure that 'nan' values returned from AnyBody are treated as "float('nan')" when returned to Python.

1.4.6

Fixed a bug when using explicit logfile arguments to `start_macro` did not work with the
`search_subdirs` argument.

1.4.5

Fixed a small issue with using AnyPyTools with pytest 6.0.0rc1

Page 5 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.