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

Mis-use of userindices #114

Open
dchansen opened this issue Jan 26, 2023 · 3 comments
Open

Mis-use of userindices #114

dchansen opened this issue Jan 26, 2023 · 3 comments
Assignees

Comments

@dchansen
Copy link
Contributor

The Siemens converter currently (ab)uses the user indices 5 and 6 for storing the kspace center line and partition number.

ismrmrd_acq.idx().user[6] = scanhead.ushKSpaceCentrePartitionNo;

This causes issues with any code trying to group acquisitions together based on their idx, as neither of these parameters are indices.

Has the need for this been solved, so we could simply remove the lines?
Alternatively, if it is required for compatibility with legacy software, could we add a command line flag to disable this behavior?

@dchansen
Copy link
Contributor Author

@xueh2 Do you know if this is fixed on your side?

@kspaceKelvin
Copy link
Contributor

I think it makes sense to make this change in the long term. However, I think there is likely some user code that uses these fields and we should give ample warning about this change.

I propose that this functionality be controlled by a command line switch that is default to true, with a warning that the behaviour will change in a future version. Then we'll switch it to default false in 3 months with a version bump.

@fzimmermann89
Copy link

Is it still planned to eventually do the switch and deprecate the k-space center being stored in the user idx?

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 a pull request may close this issue.

3 participants