Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(csv_as_enclosure_json): files do not match
See issue [#10](adamtornhill/maat-scripts#10) On macOS, cloc saves file paths with leading "./" while code-maat leaves this prefix out. As a consequence all weights are set to 0.0 because the normalized_weight_for(module_name) never finds a match. The bugfix removes a leading "./" prefix, if it exists, when initializing a StructuralElement. Note: This fix combines the associated bugfix on branch python3 into a single commit.
- Loading branch information