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 #155, Remove unnecessary type translations #156

Merged

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Feb 16, 2021

Describe the contribution
Fix #155 - removes unnecessary type translations from CHeaderParser.py (also removes broken "double")

Testing performed
Requesting test by @JackNWhite
Spot checked processing of int32's so at least the pattern is ok (and runs)

Expected behavior changes
uint64 will no longer get translated by CHeaderParser into the unsupported double type

System(s) tested on
cFS Dev Server, Ubuntu 18.04

Additional context
None

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 3.0.0 milestone Feb 16, 2021
@skliper
Copy link
Contributor Author

skliper commented Feb 16, 2021

@JackNWhite - could you confirm if this solves your issue (#155)?

@skliper skliper added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Feb 17, 2021
@JackNWhite
Copy link

My apologies, but it doesn't fully work. Now, if the type is uint64, the script does not recognise it all, and findDataTypeNew () returns None, and so you are asked to manually type it in. Should uint64 be recognised?

@skliper
Copy link
Contributor Author

skliper commented Feb 17, 2021

It should! I'll fix that. Thanks for checking.

@astrogeco
Copy link
Contributor

CCB:2021-02-17 APPROVED

  • Doesn't work for forcing BigEndian
  • Needs testing before it is ready

@lgtm-com
Copy link

lgtm-com bot commented Feb 17, 2021

This pull request introduces 1 alert when merging c8766bc into f0dfdbd - view on LGTM.com

new alerts:

  • 1 for Syntax error

@astrogeco astrogeco removed the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Feb 17, 2021
@skliper
Copy link
Contributor Author

skliper commented Feb 17, 2021

@JackNWhite OK, was able to spot check this update... hopefully it works for you?

@skliper skliper marked this pull request as ready for review February 24, 2021 14:31
@skliper
Copy link
Contributor Author

skliper commented Feb 24, 2021

I spot-checked and it worked for me, so as far as I know this is good to go.

@astrogeco astrogeco changed the base branch from main to integration-candidate February 24, 2021 15:59
@astrogeco astrogeco merged commit e338b9a into nasa:integration-candidate Feb 24, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Feb 26, 2021
@skliper skliper deleted the fix155-param_translation branch April 1, 2021 20:09
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.

Error due to disparity between command parameter types set in CHeaderParser and used in cmdGui
3 participants