In <2089d20b-aa60-462f-aad0-51109849c...@googlegroups.com>
roy.snuff...@gmail.com writes:
> I am currently running code for a program called HotNet
> (https://github.com/raphael-group/hotnet)
> In its simpleRun.py file, there is a place to insert a file path to be run.
> parser.add_argument('
roy.snuff...@gmail.com wrote:
> I am currently running code for a program called HotNet
> (https://github.com/raphael-group/hotnet)
>
> In its simpleRun.py file, there is a place to insert a file path to be
> run.
>
> parser.add_argument('-mf', '--infmat_file', required=True,
>
On Thu, Mar 20, 2014 at 3:08 PM, wrote:
> simpleRun.py: error: argument -mf/--infmat_file is required
I think you are misinterpreting the actual purpose of the
parser_add_argument() call. It's telling you that *on the command
line* you can specify it using either
-mf some-file-name
or
--infma
Hi Skip!
Thank you so much for the response. When I put quotes around the file name I
receive this output.
simpleRun.py: error: argument -mf/--infmat_file is required
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Mar 20, 2014 at 2:55 PM, wrote:
> File "simpleRun.py", line 29
> help= ~/home/lai/Downloads/influence_matrix_files/hprd_inf_.mat)
>^
> SyntaxError: invalid syntax
You need quotes around the filename. It's a string literal.
Skip
--
https://mail.python.org/mailman/listinf
I am currently running code for a program called HotNet
(https://github.com/raphael-group/hotnet)
In its simpleRun.py file, there is a place to insert a file path to be run.
parser.add_argument('-mf', '--infmat_file', required=True,
help='Path to .mat file containing inf