Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PORTER Edward
GWHMC
Commits
0442f4cd
Commit
0442f4cd
authored
Apr 06, 2021
by
Marc Arene
Browse files
fix condition to discard phase1 samples or not
parent
dd31153c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Codes/main.py
Codes/main.py
+1
-1
No files found.
Codes/main.py
View file @
0442f4cd
...
...
@@ -1147,7 +1147,7 @@ if __name__ == '__main__':
# an empty file will be saved and the future load will see
# sampler.samples = [] which will bug the derivations of scales
# from the covariance matrix
if
n_traj_already_run
==
sampler
.
n_traj_fit
:
if
sampler
.
n_traj_hmc_tot
==
sampler
.
n_traj_fit
:
cut
.
logger
.
info
(
f
"Only Phase I and II were asked to be run as n_traj_fit =
{
sampler
.
n_traj_fit
}
. Quitting here."
)
sys
.
exit
()
cut
.
logger
.
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