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

Add .cu8 .cs8 format alias #612

Merged
merged 2 commits into from
Jan 19, 2019
Merged

Add .cu8 .cs8 format alias #612

merged 2 commits into from
Jan 19, 2019

Conversation

zuckschwerdt
Copy link
Contributor

Adds the popular .cu8 and .cs8 file name extensions as alias to .complex16u and .complex16s when opening files.

@CLAassistant
Copy link

CLAassistant commented Jan 19, 2019

CLA assistant check
All committers have signed the CLA.

@jopohl
Copy link
Owner

jopohl commented Jan 19, 2019

Cool! I think if we have support for open, we should also be able to save as .cu8 and .cs8 format. Could you add that? You can just search for complex16u and complex16s in FileOperator.py and add the new aliases on the right spot.

@zuckschwerdt
Copy link
Contributor Author

Yes, I already spotted that, wasn't sure if it would be acceptable.

@jopohl
Copy link
Owner

jopohl commented Jan 19, 2019

Why not?

@zuckschwerdt
Copy link
Contributor Author

Just not sure if you perhaps don't want to confuse users with a redundant save option. To me cu8, cs8, cs16, cs12, cf32, s16, f64, … make a lot of sense, thanks for supporting that scheme!
Anyway it's added and tested now ;)

@jopohl jopohl merged commit 357f48b into jopohl:master Jan 19, 2019
@zuckschwerdt zuckschwerdt deleted the feat-cu8 branch January 19, 2019 17:11
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.

3 participants