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
56849437
Commit
56849437
authored
Dec 30, 2021
by
Gustaf Ahdritz
Browse files
Remove print statement
parent
bb6f6145
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/utils/seed.py
openfold/utils/seed.py
+1
-1
No files found.
openfold/utils/seed.py
View file @
56849437
...
@@ -12,7 +12,7 @@ def seed_globally(seed=None):
...
@@ -12,7 +12,7 @@ def seed_globally(seed=None):
if
(
seed
is
None
):
if
(
seed
is
None
):
seed
=
random
.
randint
(
0
,
np
.
iinfo
(
np
.
uint32
).
max
)
seed
=
random
.
randint
(
0
,
np
.
iinfo
(
np
.
uint32
).
max
)
os
.
environ
[
"PL_GLOBAL_SEED"
]
=
str
(
seed
)
os
.
environ
[
"PL_GLOBAL_SEED"
]
=
str
(
seed
)
print
(
f
'os.environ["PL_GLOBAL_SEED"] set to
{
seed
}
'
)
logging
.
info
(
f
'os.environ["PL_GLOBAL_SEED"] set to
{
seed
}
'
)
# seed_everything is a bit log-happy
# seed_everything is a bit log-happy
with
SuppressLogging
(
logging
.
INFO
):
with
SuppressLogging
(
logging
.
INFO
):
...
...
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