forked from se-sic/coronet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix setting authors in co-change-based author networks
This patch consists of three related fix and adaptations: First, the method 'ProjectData$get.authors.by.data.source' does not correct the column names of the returned data.frame anymore. This establishes compatibility with the method 'ProjectData$get.authors'. Additionally, the returned data.frame only contains unique entries. The documentation is tidied. Second, the method 'NetworkBuilder$get.author.network.cochange' is fixed by adding the missing 'private$' prefix when accessing the project data. Third, the assignment of author vertices is corrected to use only author names with the correct vertex attribute (i.e., "name"). This adapts the code with respect to the first change mentioned above. This change fixes all failing tests in PR se-sic#149. Signed-off-by: Claus Hunsen <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters