refactoring of the file chunck writing

This commit is contained in:
Eric Coissac committed 2024-11-29 18:15:03 +01:00
1 parent 69ef1758a2
commit 00b0edc15a
16 files changed
+71 -98

No files matched your search

+2 -2
View File
@@ -150,11 +150,11 @@ func (s BioSequenceSlice) Size() int {
return size
}
func (s BioSequenceSlice) AttributeKeys(skip_map bool) obiutils.Set[string] {
func (s BioSequenceSlice) AttributeKeys(skip_map, skip_definition bool) obiutils.Set[string] {
keys := obiutils.MakeSet[string]()
for _, k := range s {
keys = keys.Union(k.AttributeKeys(skip_map))
keys = keys.Union(k.AttributeKeys(skip_map, skip_definition))
}
return keys