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

Seq.write() changes the seq object #32

Closed
tonggehua opened this issue Jun 12, 2020 · 0 comments
Closed

Seq.write() changes the seq object #32

tonggehua opened this issue Jun 12, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tonggehua
Copy link
Contributor

Describe the bug
Using seq.write() to output the .seq file causes numerical values in the seq object to change due to unit conversion. The unexpected outcome is that when seq.write() is run twice, the second generated sequence is incorrect.

To Reproduce

  1. Go to the write_spgr.ipynb notebook and run all cells ahead of section 6.
  2. Run this cell in section 6 twice
  3. Compare the 2 seq files output from the 2 runs.

Expected behavior
There should be scaling differences in the timing of gradients, for example.

@sravan953 sravan953 added the bug Something isn't working label Jun 14, 2020
sravan953 added a commit that referenced this issue Jun 16, 2020
Repeatedly saving a sequence as a `.seq` file resulted in mismatching trapezoid gradient values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants