-
Notifications
You must be signed in to change notification settings - Fork 19
Molecular Inorganics #107
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
base: dev
Are you sure you want to change the base?
Molecular Inorganics #107
Conversation
JanCBrammer
left a comment
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.
-
Consider reverting the style changes (the style changes are nicely isolated in a single commit that can be dropped). The style that's introduced deviates from the conventions in the remainder of the codebase. E.g., in the existing codebase, pointer variables are declared
type* name, whereas the changes declaretype *name, i.e., the placement of the asterisk is inconsistent.
Note to myself and other reviewers: since the style changes make up a majority of the diffs a lot of effort goes into scanning the diffs for semantic changes (aka the functionality that's implemented). To view only the semantic changes check the "Hide whitespace" box in the review configuration (https://github.blog/changelog/2021-10-14-hiding-whitespace-is-now-remembered-for-each-pull-request/). -
As discussed, we need to introduce unit-level testing along with this feature.
-
The comments (both inline and function level) could focus less on the implementation ("how", e.g., "variable initialization for the Organometallics parameter") and more on what the code does ("why and what", a nice example is the comment regarding the
OrgMetElData). -
Remove code instead of commenting it out (including debugging).
-
Consider moving the feature to a dedicated file. I feel like the string utilities might not be the most intuitive place to implement the feature.
-
Consistently use either snake_case, UpperCamelCase, or lowerCamelCase.
|
Agreed. IMHO, all molecular inorganic code should be placed in a separate file (w/accompanying header) in order to avoid confusion regarding which file contains what. The
This mess unfortunately exists throughout the code... |
I will try to work on seperating molecular inorganics in parallel with building current functionality. This way I can be assure that everything works perfectly well and there's no wasting sweet time. But, until then I think we can take the current code. |
When you do this, please remove all references to "OrgMet" also from the code - talk to Sonja, Jan, and Gerd how to more properly name it. But it must really go from all comments, variables, function names, and so on |
@schatzsc, after discussions the terminology change to Molecular Inorganics has already been done at my end from comments, variables, functions and parameter. You will be able to see that in the coming time. |
2fb8edb to
d863ffc
Compare
|
@nnuk Can you resolve the conflicts and merge the pull request back into dev? Thanks |
@cm-beilstein Sure, I am already working on that. |
No description provided.