Skip to content

when called without parameters, do as if --help was on the CLI #15

Description

@UnixJunkie

Currently, we have an obscure:

Traceback (most recent call last):
  File "/home/berenger/.local/bin/standardiser", line 11, in <module>
    sys.exit(main())
  File "/home/berenger/.local/lib/python3.6/site-packages/standardiser/bin/standardise_mols.py", line 75, in main
    input_type = os.path.splitext(config.infile)[1] # sdf or smi
  File "/usr/lib/python3.6/posixpath.py", line 122, in splitext
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions