shenlab-sinai / region_analysis

A python script used to annotate genomic intervals.
GNU General Public License v3.0
18 stars 10 forks source link

Error message when no argument is supplied #2

Closed lishen closed 10 years ago

lishen commented 10 years ago

If I just type region_analysis.py, I get this:

Traceback (most recent call last): File "./region_analysis.py", line 195, in main() File "./region_analysis.py", line 35, in main in_f = file(input_file_name) IOError: [Errno 2] No such file or directory: ''

It's more user-friendly if the program can show the usage when no argument is supplied.