bmad-sim / pytao

PyTao is Python interface for Tao, which is based on the Bmad subroutine library for relativistic charged–particle and X-ray simulations in accelerators and storage rings.
https://bmad-sim.github.io/pytao
GNU General Public License v3.0
9 stars 6 forks source link

New functions, deprecation and fixes #43

Closed hhslepicka closed 2 years ago

hhslepicka commented 2 years ago

Closes #42

This Pull Request adds the following changes:

Preparation for new Bmad distribution:

Bug Fixes:

Tests will likely fail until we have the new distribution to be used for tests here.

hhslepicka commented 2 years ago

Closing and reopening to bump CI.

ChristopherMayes commented 2 years ago

@hhslepicka We updated the .f90 in tao. Is this up-to-date with that?

hhslepicka commented 2 years ago

@ChristopherMayes no. This PR is not up-to-date with that. It needs updating after all the changes at Bmad. Did ring_general ever work for you?

ChristopherMayes commented 2 years ago

@hhslepicka the tests and interface commands are auto-generated - and probably out of date. Then the changes to setup.py are the only really changes.

hhslepicka commented 2 years ago

I will update the interface and tests via autogeneration and push to this PR based on the latest Bmad. Hold on...

hhslepicka commented 2 years ago

@ChristopherMayes files updated with the latest distribution. Here is the output:

Generated file: ./pytao/interface_commands.py
No examples found for: da_aperture
No examples found for: da_params
Generated file: ./pytao/tests/test_interface_commands.py