Commit 423d3e9d authored by Yan's avatar Yan
Browse files

Fixed bug in console_script executable

parent 43a2f24b
......@@ -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()
......@@ -23,7 +23,7 @@ setup(
entry_points={
'console_scripts': [
# example:
'prasopes = prasopes.__main__'
'prasopes = prasopes.__main__:main'
],
}
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment