-
Notifications
You must be signed in to change notification settings - Fork 133
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
Handle dynamic choice names while generating SAV export #1806
Conversation
e2b132f
to
608874a
Compare
bb62ddf
to
206ae6e
Compare
self.assertEqual(rows[0][2], b'name') | ||
self.assertEqual(rows[1][2], b'Davis') | ||
self.assertEqual(rows[0][3], b'brand_known') | ||
self.assertEqual(rows[1][3], b'${text} a') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DavisRayM Are we supposed to replace ${text}
with the real value i.e. '${text} a'
becomes 'his a'
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think we do. I'll work on making this happen.
I think we need to do this since the csv export shows his a
instead of ${text} a
will work on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me
92f9eea
to
ebd0e45
Compare
Curly braces are categorized as special characters in SPSS. Including them in the 'var_name' raises a syntax error
Replace dynamic values i.e ${text} with actual value retrieved from row data while creating sav exports
ebd0e45
to
f449457
Compare
@DavisRayM this has passed QA. I have tested the following scenarios
|
Changes / Features implemented
Steps taken to verify this change does what is intended
Side effects of implementing this change
Closes #1803