Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nnpdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emanuele Roberto Nocera
nnpdf
Commits
9bbb476d
Unverified
Commit
9bbb476d
authored
1 year ago
by
Juan M. Cruz-Martinez
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
change docstr for vp-pdffromreplicas
parent
3c8f09f2
Branches
Branches containing commit
No related tags found
1 merge request
!2022
Fix for PDF without error type
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
validphys2/src/validphys/scripts/vp_pdffromreplicas.py
+3
-5
3 additions, 5 deletions
validphys2/src/validphys/scripts/vp_pdffromreplicas.py
with
3 additions
and
5 deletions
validphys2/src/validphys/scripts/vp_pdffromreplicas.py
+
3
−
5
View file @
9bbb476d
...
...
@@ -11,13 +11,11 @@ source ``PDF`` will be downloaded if it cannot be found locally.
This script will not overwrite any existing files, so a ``PDF`` cannot already
exist with the same name as the output ``PDF``.
Note that whilst in principle it is possible to create a single replica ``PDF``
whose replica 0 is simply the same as replica 1, LHAPDF has a restriction which
requires ``PDF`` s to have at least 2 replicas (plus replica 0). To handle this
special case if ``replicas == 1``, then replica 2 will be a duplicate of replica
Note that whilst in principle it is possible to create a single replica ``PDF``,
some applications might rely on the existence of 2 members (in addition to replica 0).
To handle this special case if ``replicas == 1``, then replica 2 will be a duplicate of replica
1, satisfying the minimum number of replicas whilst retaining the property
that replica 1 and replica 0 are identical.
"""
import
argparse
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment