Increased the quantity of attributes that are extracted from the OpenSNP biobank data archive.

This commit is contained in:
Simon Sarasova 2024-08-11 11:16:46 +00:00
parent 45e668c05a
commit 60ee8afb6c
No known key found for this signature in database
GPG key ID: EEDA4103C9C36944
4 changed files with 2750 additions and 74 deletions

View file

@ -6,6 +6,7 @@ Small and insignificant changes may not be included in this log.
## Unversioned Changes ## 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* * Added numeric traits to genetic analyses. - *Simon Sarasova*
* Improved Documentation.md and Future-Plans.md. - *Simon Sarasova* * Improved Documentation.md and Future-Plans.md. - *Simon Sarasova*
* Improved Future-Plans.md. - *Simon Sarasova* * Improved Future-Plans.md. - *Simon Sarasova*

View file

@ -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 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

View file

@ -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
}