In the latest version (v3.5.4) of ABACUS, there is a discrepancy in the version numbers. Specifically, the CMakeLists.txt file sets the version number to v3.0.0, while the actual version number is correctly defined as v3.5.4 in the source/version.h file. This inconsistency may lead to confusion and should be addressed to maintain code quality.
Additional Context
In source/module_io/parse_args.h,
function parse_args returns the version information when using command "abacus --version", "abacus -v" or "abacus -V".
This function prints the correct version (v3.5.4) while CMakeLists.txt file sets the version number to v3.0.0, which is confusing.
Task list for Issue attackers (only for developers)
[ ] Identify the specific code file or section with the code quality issue.
[ ] Investigate the issue and determine the root cause.
[ ] Research best practices and potential solutions for the identified issue.
[ ] Refactor the code to improve code quality, following the suggested solution.
[ ] Ensure the refactored code adheres to the project's coding standards.
[ ] Test the refactored code to ensure it functions as expected.
[X] Update any relevant documentation, if necessary.
[ ] Submit a pull request with the refactored code and a description of the changes made.
Describe the Code Quality Issue
In the latest version (v3.5.4) of ABACUS, there is a discrepancy in the version numbers. Specifically, the CMakeLists.txt file sets the version number to v3.0.0, while the actual version number is correctly defined as v3.5.4 in the source/version.h file. This inconsistency may lead to confusion and should be addressed to maintain code quality.
Additional Context
In
source/module_io/parse_args.h
, function parse_args returns the version information when using command "abacus --version", "abacus -v" or "abacus -V". This function prints the correct version (v3.5.4) while CMakeLists.txt file sets the version number to v3.0.0, which is confusing.Task list for Issue attackers (only for developers)