Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
244970bf
Commit
244970bf
authored
May 05, 2024
by
Lukas Jarosch
Browse files
Slightly improve comment
parent
0b5c9492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/alignment_db_scripts/create_alignment_db_sharded.py
scripts/alignment_db_scripts/create_alignment_db_sharded.py
+1
-1
No files found.
scripts/alignment_db_scripts/create_alignment_db_sharded.py
View file @
244970bf
...
@@ -93,7 +93,7 @@ def create_shard(
...
@@ -93,7 +93,7 @@ def create_shard(
CHUNK_SIZE
=
200
CHUNK_SIZE
=
200
shard_index
=
defaultdict
(
shard_index
=
defaultdict
(
create_index_default_dict
create_index_default_dict
)
# {chain_name: {db: str, files: [(file_name, db_offset, file_length)]}, ...}
)
#
e.g.
{chain_name: {db: str, files: [(file_name, db_offset, file_length)]}, ...}
chunk_iter
=
chunked_iterator
(
shard_files
,
CHUNK_SIZE
)
chunk_iter
=
chunked_iterator
(
shard_files
,
CHUNK_SIZE
)
pbar_desc
=
f
"Shard
{
shard_num
}
"
pbar_desc
=
f
"Shard
{
shard_num
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment