Skip to content

Commit

Permalink
Return back to -d for description column
Browse files Browse the repository at this point in the history
  • Loading branch information
lszeremeta committed Mar 28, 2021
1 parent 0962246 commit 0218d6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ In this case, your local directory `/home/user/input` has been mounted under `/a
usage: molstruct [-h] [--version] -f {jsonld_html,jsonld,rdfa,microdata} [-i IDENTIFIER]
[-n NAME] [-ink INCHIKEY] [-in INCHI] [-s SMILES] [-u URL] [-iu IUPACNAME]
[-mf MOLECULARFORMULA] [-w MOLECULARWEIGHT]
[-mw MONOISOTOPICMOLECULARWEIGHT] [-ds DESCRIPTION]
[-mw MONOISOTOPICMOLECULARWEIGHT] [-d DESCRIPTION]
[-dd DISAMBIGUATINGDESCRIPTION] [-img IMAGE] [-an ALTERNATENAME]
[-sa SAMEAS] [-p {drugbank}] [-c] [-b BASEURI] [-vd VALUE_DELIMITER]
[-l LIMIT]
Expand Down Expand Up @@ -125,7 +125,7 @@ Arguments for changing the default column names
* `-mf MOLECULARFORMULA`, `--molecularFormula MOLECULARFORMULA` molecularFormula column name (molecularFormula by default), Text
* `-w MOLECULARWEIGHT`, `--molecularWeight MOLECULARWEIGHT` molecularWeight column name (molecularWeight by default), Mass e.g. 0.01 mg)
* `-mw MONOISOTOPICMOLECULARWEIGHT`, `--monoisotopicMolecularWeight MONOISOTOPICMOLECULARWEIGHT` monoisotopicMolecularWeight column name (monoisotopicMolecularWeight by default), Mass e.g. 0.01 mg
* `-ds DESCRIPTION`, `--description DESCRIPTION` description column name (description by default), Text
* `-d DESCRIPTION`, `--description DESCRIPTION` description column name (description by default), Text
* `-dd DISAMBIGUATINGDESCRIPTION`, `--disambiguatingDescription DISAMBIGUATINGDESCRIPTION` disambiguatingDescription column name (disambiguatingDescription by default), Text
* `-img IMAGE`, `--image IMAGE` image column name (image by default), URL
* `-an ALTERNATENAME`, `--alternateName ALTERNATENAME` alternateName column name (alternateName by default), Text
Expand Down
2 changes: 1 addition & 1 deletion molstruct/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def main():
column_names.add_argument("-mw", "--monoisotopicMolecularWeight", type=str,
help="monoisotopicMolecularWeight column name ('" + n.COLUMNS[
'monoisotopicMolecularWeight'] + "' by default), Mass e.g. 0.01 mg")
column_names.add_argument("-ds", "--description", type=str,
column_names.add_argument("-d", "--description", type=str,
help="description column name ('" + n.COLUMNS['description'] + "' by default), Text")
column_names.add_argument("-dd", "--disambiguatingDescription", type=str,
help="disambiguatingDescription column name ('" + n.COLUMNS[
Expand Down

0 comments on commit 0218d6c

Please sign in to comment.