Skip to content

Releases: AnyBody-Research-Group/AnyPyTools

AnyPyTools 1.20.6

Choose a tag to compare

@melund melund released this 15 Mar 12:40

What's Changed

  • fix: pytest plugin to fail tests when anybodycon is not available by in #143

Full Changelog: 1.20.5...1.20.6

AnyPyTools v1.20.5

Choose a tag to compare

@melund melund released this 17 Feb 18:56
f095b88

What's Changed

New Contributors

Full Changelog: 1.20.4...1.20.5

AnyPyTools v1.20.4

Choose a tag to compare

@melund melund released this 15 Jan 11:43
9392475

What's Changed

  • Fix crash with pytest plugin when saving output to h5 files.
  • Fixed a bug where ctrl-c events were not propagated and were silenced. This
    fixes an issue where using AnyPyTools in tools liek pytest or snakemake made
    it difficult to interrupt the process.

AnyPyTools v.1.20.2

Choose a tag to compare

@melund melund released this 12 Jan 10:58
4d5d6ff

What's Changed

  • rollback automatic detection of snakemake env by @melund in #132
  • fix: Ensure ctrl-c are not suppressed by @melund in #134

Full Changelog: 1.20.2...1.20.3

AnyPyTools v.1.20.2

Choose a tag to compare

@melund melund released this 08 Dec 09:57
6ffd0b3
  • Fixed a deprecation warning from the pytest plugin, and enable pytest 9 support.

AnyPyTools v. 1.20.1

Choose a tag to compare

@melund melund released this 23 Nov 21:47
ff2e0af
  • Fixed an issue with AnyPyTools when running directly in the main thread
    of the snakemake workflow tool (i.e., directly in the snakefile). This fix forces
    AnyPyTools to use the standard Python subprocess module when running in snakemake.

AnyPyTools v. 1.20

Choose a tag to compare

@melund melund released this 19 Nov 12:57
24efd1e
  • Fixed a problem that prevented multiple AnyPyTools instances from running
    simultaneously in the same process. Previously, other running AnyBody instances
    were shut down when the first AnyPyProcess.start_macro() call finished.

AnyPyTools v.1.19.2

Choose a tag to compare

@melund melund released this 28 Oct 15:03
1b1c5a9

AnyPyTools v.1.19.2

  • Fixed missing widget information is user-guide documentation.

1.19.1

Choose a tag to compare

@melund melund released this 28 Oct 11:45
4cb0901

AnyPyTools v.1.19.1

  • Fixed minor formatting issues in documentation.

AnyPyTools v1.19

Choose a tag to compare

@melund melund released this 28 Oct 11:28
aa196e7

Changed:

  • The results.to_dataframe() no longer returns the special task_* (meta data) in the output columns.
    To get the extra task info use results.to_dataframe(*, include_task_info=True)
  • The documentation page updated.

Added:

  • New macro_commands.ExtendOutput() helper macro that can add arbitrary values
    to the results output. This allows adding values that don't need to exist as
    variables in the AnyBody model. This is useful for adding extra metadata that will
    appear in the results output when creating the macros.

    macro = [
      mc.Load("MyModel.main.any"),
      mc.ExtendOutput("SubjectID", "S001"),
      mc.ExtendOutput("SubjectHeight", "1.8"),
    ]
    results = app.start_macro(macro)
    assert results[0]["SubjectID"] == "S001"
    assert results[0]["SubjectHeight"] == 1.8
  • results.to_dataframe() has a new argument
    exclude_task_info which can exclude task information (variables starting
    with 'task_') when exporting results to a dataframe