Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan Zelenka
prasopes
Commits
423d3e9d
Commit
423d3e9d
authored
Aug 29, 2018
by
Yan
Browse files
Fixed bug in console_script executable
parent
43a2f24b
Changes
2
Hide whitespace changes
Inline
Side-by-side
prasopes/__main__.py
View file @
423d3e9d
...
...
@@ -23,7 +23,7 @@ def load_file(chrom_plot, spc, d_set, ms_s, fn, chrom_s):
fn
[
0
]
=
lf
if
__name__
==
"__
main
__"
:
def
main
()
:
# ds for data_set, ms for mass_spec_dataset, chrom for chrom_dataset
ds
=
dict
(
chrom_dat
=
None
,
masses
=
None
,
matrix
=
None
)
ms
=
dict
(
x
=
[
0
],
y
=
[
0
],
line
=
None
,
annotation
=
[],
...
...
@@ -101,3 +101,6 @@ if __name__ == "__main__":
main_window
.
show
()
sys
.
exit
(
app
.
exec_
())
if
__name__
==
"__main__"
:
main
()
setup.py
View file @
423d3e9d
...
...
@@ -23,7 +23,7 @@ setup(
entry_points
=
{
'console_scripts'
:
[
# example:
'prasopes = prasopes.__main__'
'prasopes = prasopes.__main__
:main
'
],
}
)
Write
Preview
Supports
Markdown
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