Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor 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
schwede
ProMod3
Commits
20d08ac2
Commit
20d08ac2
authored
9 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Adapted to our own argparse fork
parent
055fd54a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/doc/helper.rst
+6
-6
6 additions, 6 deletions
core/doc/helper.rst
with
6 additions
and
6 deletions
core/doc/helper.rst
+
6
−
6
View file @
20d08ac2
...
...
@@ -46,16 +46,16 @@ File Tests
:hide:
import os
import argparse
import tempfile
from promod3.core import helper
from promod3.core import pm3argparse
(fh, fn) = tempfile.mkstemp(suffix='.pdb')
os.close(fh)
p = argparse.ArgumentParser()
p =
pm3
argparse.
PM3
ArgumentParser()
p.add_argument('file', type=str)
opts = p.
p
arse
_args
([fn])
opts = p.
P
arse([fn])
helper.FileExists('Test file', 1, opts.file)
...
...
@@ -68,12 +68,12 @@ File Tests
.. doctest:: helper
import argparse
from promod3.core import helper
from promod3.core import pm3argparse
p = argparse.ArgumentParser()
p =
pm3
argparse.
PM3
ArgumentParser()
p.add_argument('file', type=str)
opts = p.
p
arse
_args
()
opts = p.
P
arse()
helper.FileExists('Test file', 1, opts.file)
...
...
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