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
5545352e
Commit
5545352e
authored
4 years ago
by
wilsonm
Browse files
Options
Downloads
Patches
Plain Diff
update docstring of vp-upload to reflect new functionality
parent
e2958866
No related branches found
No related tags found
1 merge request
!940
update docstring of vp-upload to reflect new functionality
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
validphys2/src/validphys/scripts/vp_upload.py
+12
-3
12 additions, 3 deletions
validphys2/src/validphys/scripts/vp_upload.py
with
12 additions
and
3 deletions
validphys2/src/validphys/scripts/vp_upload.py
+
12
−
3
View file @
5545352e
"""
Upload a resource (but not a fit) to the NNPDF server. By default this uploads
a validphys report to the server. For that use `vp-upload <output folder>`.
NB: to upload a fit, use the separate script `vp-uploadfit`.
Upload a resource to the NNPDF server.
The script automatically detects (:py:func:`validphys.uploadutils.check_input`)
the type of the input.
- A ``fit`` is defined to be any folder structure that contains a ``filter.yml``
file at its root
- a ``PDF`` is any folder containing a ``.info`` file at the root and a replica 0
- a report is any such structure containing an ``index.html`` file at the root.
The input folder is then placed in the correct location in the server accordingly.
"""
#Note that the imports are done as late as possible to improve the speed of
#the command line.
...
...
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