Increased the quantity of attributes that are extracted from the OpenSNP biobank data archive.
This commit is contained in:
parent
45e668c05a
commit
60ee8afb6c
4 changed files with 2750 additions and 74 deletions
|
@ -6,6 +6,7 @@ Small and insignificant changes may not be included in this log.
|
|||
|
||||
## Unversioned Changes
|
||||
|
||||
* Increased the quantity of attributes that are extracted from the OpenSNP biobank data archive. - *Simon Sarasova*
|
||||
* Added numeric traits to genetic analyses. - *Simon Sarasova*
|
||||
* Improved Documentation.md and Future-Plans.md. - *Simon Sarasova*
|
||||
* Improved Future-Plans.md. - *Simon Sarasova*
|
||||
|
|
|
@ -9,4 +9,4 @@ Many other people have written code for modules which are imported by Seekia. Th
|
|||
|
||||
Name | Date Of First Commit | Number Of Commits
|
||||
--- | --- | ---
|
||||
Simon Sarasova | June 13, 2023 | 275
|
||||
Simon Sarasova | June 13, 2023 | 276
|
File diff suppressed because it is too large
Load diff
|
@ -2138,3 +2138,25 @@ func CountMatchingElementsInSlice[E comparable](inputSlice []E, inputElement E)i
|
|||
}
|
||||
|
||||
|
||||
func CheckIfAllItemsInSliceAreIdentical[E comparable](inputSlice []E)bool{
|
||||
|
||||
if (len(inputSlice) <= 1){
|
||||
return true
|
||||
}
|
||||
|
||||
initialElement := inputSlice[0]
|
||||
|
||||
for index, element := range inputSlice{
|
||||
|
||||
if (index == 0){
|
||||
continue
|
||||
}
|
||||
if (element != initialElement){
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue