OpenBEL / openbel-framework

An open platform for capturing, integrating, storing, and sharing biological knowledge in and across organizations.
http://openbel.org
Apache License 2.0
22 stars 7 forks source link

Require less information for compiling KAMs #19

Open JamesMcMahon opened 12 years ago

JamesMcMahon commented 12 years ago

I think forcing the user to enter in a kam name and description is unnecessary on the command line. Description should be optional and the name, if omitted, should be derived from the source file.

This may seem minor, but this one of those "death from a thousand cuts" issues that if removed make the framework more user friendly.

nbargnesi commented 12 years ago

Agreed.

Though nothing should be done here until we rationalize the --no-preserve option, i.e., make it work as intended.

abargnesi commented 12 years ago

We should determine the KAM name if one input file is provided (dropping file extension), but if multiple documents are provided the command-line parsing should fail immediately. The message indicated should be that kam name is required when multiple documents are specified.