Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
ccdutils ccdutils
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pdbe
  • ccdutilsccdutils
  • Issues
  • #19

Closed
Open
Created Jun 07, 2017 by Oliver Smart@oliver_smartMaintainer

Develop utility command line script to read single cif and write coordinate files/images etc.

What

  • Want a command line script so a user can read in any ccd cif and
    • write a sdf if they want to - with options for ideal/model coordinates, hydrogen, alias on off
    • write a pdb file with options ...
    • write an image with options ....
  • Display properties about the molecule - lipinski things - num rings, rotable bonds etc. etc.

How

  • The command line arguments and the help text for each must be proposed as a comment on this page. The proposal must be agreed to before any coding is done!
  • Script is to use argparse
  • All points except 2 in https://ajminich.com/2013/08/01/10-things-i-wish-every-python-script-did/ must be followed.
  • Can you unit test a command line script?
  • If there are exceptions (file does not exist etc.) catch them produce a sensible error message to the user and call sys.exit(1) to indicate to the calling process there was problem.
Edited Jun 07, 2017 by Oliver Smart
Assignee
Assign to
PDBeChem Backend Processing: get into preproduction
Milestone
PDBeChem Backend Processing: get into preproduction (Past due)
Assign milestone
Time tracking