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

TASK-6780 - Port Patch 3.2.1 -> 4.0.0 - Xetabase 2.2.1 -> 3.0.0 #279

Merged
merged 42 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
5d87f1f
Merge pull request #255 from opencb/TASK-4158
juanfeSanahuja Mar 5, 2024
7482b4d
Merge branch 'develop'
juanfeSanahuja Mar 7, 2024
ceccbf3
Merge branch 'release-3.0.x'
juanfeSanahuja Mar 7, 2024
c139406
Prepare next release 2.12.3-SNAPSHOT
juanfeSanahuja Apr 30, 2024
afa87fc
Merge branch 'release-3.1.x'
juanfeSanahuja May 20, 2024
c526731
cicd: Update action version to test for compatibility with test and r…
juanfeSanahuja May 30, 2024
a4eb6dc
models: deprecate status name, #TASK-5964
pfurio Jun 10, 2024
d8b75f4
Merge branch 'develop' into TASK-5964
pfurio Jun 26, 2024
50a2be9
cicd: Modify pull request approve #TASK-6399
juanfeSanahuja Jun 26, 2024
10aa6c8
cicd: Modify pull request approve #TASK-6399
juanfeSanahuja Jul 1, 2024
b376900
exclude distlib dependency
juanfeSanahuja Jul 8, 2024
aacf0bb
exclude distlib dependency
juanfeSanahuja Jul 8, 2024
65f6eff
Merge branch 'release-3.2.x'
juanfeSanahuja Jul 17, 2024
b4c2afb
Prepare new development branch release-3.2.x
juanfeSanahuja Jul 17, 2024
7534547
tools: Centralise SV normalization at VariantKeyFields.sv #TASK-6558
j-coll Jul 17, 2024
a6abc51
tools: Remove sv.ciEnd from INSERTION and BREAKEND variants. #TASK-6558
j-coll Jul 17, 2024
58bee08
tools: Normalize sv for non-symbolic variants. #TASK-6558
j-coll Jul 18, 2024
c58dfe7
Merge branch 'release-3.2.x' into TASK-5964
pfurio Jul 19, 2024
80cddaa
Merge branch 'release-3.2.x' into TASK-6399
juanfeSanahuja Jul 29, 2024
a561fac
Merge pull request #270 from opencb/TASK-6558
j-coll Aug 6, 2024
da73175
Prepare Port Patch Cellbase 2.12.2 -> 3.2.1 #TASK-6647
juanfeSanahuja Aug 6, 2024
ac9da0c
Merge branch 'release-3.2.x' into TASK-6647-rel
juanfeSanahuja Aug 6, 2024
48f6ea3
Merge pull request #274 from opencb/TASK-6647-rel
juanfeSanahuja Aug 8, 2024
85a401b
Merge branch 'release-3.2.x' into TASK-5964
pfurio Aug 8, 2024
67b38c8
Merge branch 'release-3.2.x' into TASK-6399
juanfeSanahuja Aug 14, 2024
c1b4dd0
Merge pull request #266 from opencb/TASK-6399
juanfeSanahuja Aug 14, 2024
78d019e
Merge branch 'release-3.2.x' into TASK-5964
pfurio Aug 28, 2024
867865d
Merge pull request #265 from opencb/TASK-5964
pfurio Aug 28, 2024
0097564
Prepare release 2.12.3
juanfeSanahuja Sep 2, 2024
ded97e0
preparing Port Patch 1.10.7 -> 2.2.1
juanfeSanahuja Sep 3, 2024
55167e9
Merge branch 'release-3.2.x' into TASK-6708
juanfeSanahuja Sep 3, 2024
cc133b9
cicd: Upload reference to develop branch in pull-request-approve to t…
juanfeSanahuja Sep 4, 2024
b0faf20
Merge pull request #275 from opencb/TASK-6708
juanfeSanahuja Sep 6, 2024
39490c3
Merge branch 'release-3.2.x' into TASK-6807
juanfeSanahuja Sep 6, 2024
b1d29ec
cicd: Fix xetabase branch calculation #TASK-6807
juanfeSanahuja Sep 9, 2024
80791e4
cicd: Fix xetabase branch calculation #TASK-6807
juanfeSanahuja Sep 10, 2024
0a09df2
cicd: Fix xetabase branch calculation #TASK-6807
juanfeSanahuja Sep 10, 2024
b49be2e
Merge pull request #276 from opencb/TASK-6807
juanfeSanahuja Sep 12, 2024
014f1ca
Prepare release 3.2.1
juanfeSanahuja Sep 13, 2024
41fad14
Merge branch 'release-3.2.x'
juanfeSanahuja Sep 13, 2024
8fbe11a
Port Patch 3.2.1 -> 4.0.0 XB 2.2.1 -> 3.0.0 #TASK-6780
juanfeSanahuja Oct 3, 2024
524f31d
Merge branch 'develop' into TASK-6780
juanfeSanahuja Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,29 @@

public class Interpretation {

private String id;
private String uuid;
private String description;
private String clinicalAnalysisId;
protected String id;
protected String uuid;
protected String name;
protected String description;
protected String clinicalAnalysisId;

/**
* Interpretation algorithm tool used to generate this interpretation.
*/
private ClinicalAnalyst analyst;
private InterpretationMethod method;
protected ClinicalAnalyst analyst;
protected InterpretationMethod method;

private List<ClinicalVariant> primaryFindings;
private List<ClinicalVariant> secondaryFindings;
protected List<ClinicalVariant> primaryFindings;
protected List<ClinicalVariant> secondaryFindings;

private List<ClinicalComment> comments;
protected List<ClinicalComment> comments;

private InterpretationStats stats;
protected InterpretationStats stats;

private boolean locked;
private Status status;
private String creationDate;
private String modificationDate;
private int version;
protected boolean locked;
protected String creationDate;
protected String modificationDate;
protected int version;

/**
* Users can add custom information in this field.
Expand All @@ -61,12 +61,23 @@ public class Interpretation {
public Interpretation() {
}

@Deprecated
public Interpretation(String id, String uuid, String description, String clinicalAnalysisId, ClinicalAnalyst analyst,
InterpretationMethod method, List<ClinicalVariant> primaryFindings, List<ClinicalVariant> secondaryFindings,
List<ClinicalComment> comments, InterpretationStats stats, Status status, String creationDate,
String modificationDate, boolean locked, int version, Map<String, Object> attributes) {
this(id, uuid, id, description, clinicalAnalysisId, analyst, method, primaryFindings, secondaryFindings,
comments, stats, locked, creationDate, modificationDate, version, attributes);
}

public Interpretation(String id, String uuid, String name, String description, String clinicalAnalysisId,
ClinicalAnalyst analyst, InterpretationMethod method, List<ClinicalVariant> primaryFindings,
List<ClinicalVariant> secondaryFindings, List<ClinicalComment> comments,
InterpretationStats stats, boolean locked, String creationDate, String modificationDate,
int version, Map<String, Object> attributes) {
this.id = id;
this.uuid = uuid;
this.name = name;
this.description = description;
this.clinicalAnalysisId = clinicalAnalysisId;
this.analyst = analyst;
Expand All @@ -75,10 +86,9 @@ public Interpretation(String id, String uuid, String description, String clinica
this.secondaryFindings = secondaryFindings;
this.comments = comments;
this.stats = stats;
this.status = status;
this.locked = locked;
this.creationDate = creationDate;
this.modificationDate = modificationDate;
this.locked = locked;
this.version = version;
this.attributes = attributes;
}
Expand All @@ -88,6 +98,7 @@ public String toString() {
final StringBuilder sb = new StringBuilder("Interpretation{");
sb.append("id='").append(id).append('\'');
sb.append(", uuid='").append(uuid).append('\'');
sb.append(", name='").append(name).append('\'');
sb.append(", description='").append(description).append('\'');
sb.append(", clinicalAnalysisId='").append(clinicalAnalysisId).append('\'');
sb.append(", analyst=").append(analyst);
Expand All @@ -96,7 +107,6 @@ public String toString() {
sb.append(", secondaryFindings=").append(secondaryFindings);
sb.append(", comments=").append(comments);
sb.append(", stats=").append(stats);
sb.append(", status=").append(status);
sb.append(", creationDate='").append(creationDate).append('\'');
sb.append(", modificationDate='").append(modificationDate).append('\'');
sb.append(", locked='").append(locked).append('\'');
Expand Down Expand Up @@ -124,6 +134,15 @@ public Interpretation setUuid(String uuid) {
return this;
}

public String getName() {
return name;
}

public Interpretation setName(String name) {
this.name = name;
return this;
}

public String getDescription() {
return description;
}
Expand Down Expand Up @@ -196,15 +215,6 @@ public Interpretation setStats(InterpretationStats stats) {
return this;
}

public Status getStatus() {
return status;
}

public Interpretation setStatus(Status status) {
this.status = status;
return this;
}

public String getCreationDate() {
return creationDate;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,22 @@
public class Status {

protected String id;
protected String name;
protected String description;
protected String date;

public Status() {
this("", "", "", "");
this("", "", "");
}

public Status(String id, String description, String date) {
this.id = id;
this.description = description;
this.date = date;
}

@Deprecated
public Status(String id, String name, String description, String date) {
this.id = id;
this.name = name;
this.description = description;
this.date = date;
}
Expand All @@ -38,7 +43,6 @@ public Status(String id, String name, String description, String date) {
public String toString() {
final StringBuilder sb = new StringBuilder("Status{");
sb.append("id='").append(id).append('\'');
sb.append(", name='").append(name).append('\'');
sb.append(", description='").append(description).append('\'');
sb.append(", date='").append(date).append('\'');
sb.append('}');
Expand All @@ -53,15 +57,13 @@ public boolean equals(Object o) {
Status status = (Status) o;

if (!id.equals(status.id)) return false;
if (name != null ? !name.equals(status.name) : status.name != null) return false;
if (description != null ? !description.equals(status.description) : status.description != null) return false;
return date != null ? date.equals(status.date) : status.date == null;
}

@Override
public int hashCode() {
int result = id.hashCode();
result = 31 * result + (name != null ? name.hashCode() : 0);
result = 31 * result + (description != null ? description.hashCode() : 0);
result = 31 * result + (date != null ? date.hashCode() : 0);
return result;
Expand All @@ -76,12 +78,13 @@ public Status setId(String id) {
return this;
}

@Deprecated
public String getName() {
return name;
return id;
}

@Deprecated
public Status setName(String name) {
this.name = name;
return this;
}

Expand Down
Loading
Loading