Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lsa to madx writer #104

Merged
merged 13 commits into from
Oct 11, 2022
Merged

Fix lsa to madx writer #104

merged 13 commits into from
Oct 11, 2022

Conversation

JoschD
Copy link
Member

@JoschD JoschD commented Oct 11, 2022

  • LSA to MADX sign convention
  • Better trim naming
  • check madx names for allowed characters
  • option to init all variables
  • machine settings info takes ISO time

@JoschD JoschD requested a review from fsoubelet October 11, 2022 10:00
@@ -2,7 +2,7 @@

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can also do a version of the test without the deferred expressions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't test much anyway. And I don't like these tests, as you need to change the file it compares to as soon as you do any change in the code. A proper test would be running the resulting file in madx/cpymad and checking that the variables change as expected, but I don't have the time to implement this.

@JoschD JoschD requested a review from fsoubelet October 11, 2022 11:45
@JoschD JoschD merged commit 4c0d10b into master Oct 11, 2022
@JoschD JoschD deleted the fix_lsa_to_madx_writer branch October 11, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants