KarrLab / bpforms

Toolkit for concretely describing non-canonical DNA, RNA, and proteins
https://www.bpforms.org
MIT License
6 stars 2 forks source link

bpforms as command line: problem with validate and user-defined expression #45

Closed ychebaro closed 5 years ago

ychebaro commented 5 years ago

When using bpforms as command line interface, there seems to be a need for single quotes around a user-defined bpform:

bpforms validate dna A[id: "m2C"] bpforms: error: unrecognized arguments: m2C]

bpforms validate dna 'A[id: "m2C"]' Form is valid

jonrkarr commented 5 years ago

This is generally true for command line programs. Spaces and other non-alphanumeric characters delineate separate arguments. Quotation marks are generally used to encapsulate arguments.