Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
finesse
pykat
Commits
a45a68ae
Commit
a45a68ae
authored
Jun 03, 2019
by
Sean Leavey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused KATPATH option
parent
69c1a9a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
pykat/__main__.py
pykat/__main__.py
+1
-5
No files found.
pykat/__main__.py
View file @
a45a68ae
...
...
@@ -45,12 +45,8 @@ from .finesse import kat as katparser
help
=
"Display results as figure."
)
@
click
.
option
(
"--save-figure"
,
type
=
click
.
File
(
"wb"
,
lazy
=
False
),
help
=
"Save image of figure to file."
)
@
click
.
option
(
"--kat-path"
,
type
=
click
.
Path
(
exists
=
True
),
envvar
=
"KATPATH"
,
help
=
"Path to Finesse 2 directory. If not specified, the "
"environment variable KATPATH is searched."
)
@
click
.
version_option
(
version
=
__version__
,
prog_name
=
"Pykat"
)
def
cli
(
file
,
xstart
,
xstop
,
xsteps
,
xscale
,
trace
,
maxtem
,
ignored_blocks
,
plot
,
save_figure
,
kat_path
):
def
cli
(
file
,
xstart
,
xstop
,
xsteps
,
xscale
,
trace
,
maxtem
,
ignored_blocks
,
plot
,
save_figure
):
"""Base CLI command group"""
kat
=
katparser
()
kat
.
load
(
file
.
name
)
...
...
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