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

Multi project classification #107

Merged
merged 81 commits into from
Jul 24, 2024
Merged

Conversation

stefanhahmann
Copy link
Collaborator

Resolves #101

@stefanhahmann stefanhahmann self-assigned this Jun 21, 2024
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch 11 times, most recently from 1226a51 to 070bab3 Compare June 24, 2024 14:29
@stefanhahmann stefanhahmann requested a review from maarzt June 24, 2024 14:56
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch 2 times, most recently from 094e34f to 1b4eb25 Compare June 27, 2024 16:21
maarzt
maarzt previously approved these changes Jul 4, 2024
Copy link
Collaborator

@maarzt maarzt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome test coverage! Also very well implemented user feedback in the Classify Lineages dialog.

The PR adds new functionality to allow lineage classification for multiple mastodon projects. The new functionality is not trivial. Unfortunately this also leads to growing classes and methods. Which makes the PR hard to review, and very likely complicate code maintenance in the future. If possible please try to keep classes and methods small.

@@ -291,6 +419,73 @@ public void setVisualisationParams( final boolean showDendrogram )
this.showDendrogram = showDendrogram;
}

public void setExternalProjects( final File[] projects, final boolean addTagSetToExternalProjects )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend remove the ProjectSession, MastodonProjectService classes. They don't bring any advantage for the code. Instead I would recommend to add a class ExternalProjects which has this setExternalProjects(File[]) method, a close() method and probably some getter methods....

@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch from 6275b5a to 217689b Compare July 18, 2024 10:10
… classifyLineageTrees to method getDistanceMatrix()
…ller

* This allows that this method can be called with any project model in the future
* For backwards compatibility a getRoots() method with the project model of the controller is introduced
* Allows passing different kinds of distance matrices to classify lineage trees
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch from a0eedf3 to 34887fc Compare July 18, 2024 15:07
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch from 8287d82 to d26d428 Compare July 18, 2024 15:40
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch from 7989e81 to e51b3a8 Compare July 19, 2024 13:53
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch from 9a1e8d3 to 83e35ca Compare July 23, 2024 07:19
@stefanhahmann stefanhahmann force-pushed the multi_project_classification branch from 2df93d4 to ff76f59 Compare July 24, 2024 09:46
Copy link

@stefanhahmann stefanhahmann merged commit 3b8a4b1 into master Jul 24, 2024
3 checks passed
@stefanhahmann stefanhahmann deleted the multi_project_classification branch September 2, 2024 10:13
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.

Lineage Classification Averaging Multiple Embryos
2 participants