Skip to content

warmstart/cadnano2.5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cadnano 2.5 (radnano)

This is a development version of cadnano ported to Qt5/PyQt5, the dev branch is most up to date

Changes

A number of organizational and style changes have occured from cadnano 2

  • cadnano can be run in python without Qt installed at all
  • Python 3 compatible
  • no more camel-case'd variables (fixes namespace collisions)
  • QUndoCommands are broken out to their own modules
  • added a STL generator to generate models for 3D printing
  • Maya code removed.
  • Added ability to take advantage of pyqtdeploy tool to build standalone versions that can be destributed as binary
  • stablized code base so fewer crashes

The only additional burden for development on this code base is installing PyQt5 to use the GUI which is not a one click situation. Fortunately pyqtdeploy should make this a problem for only people who want to hack on the code base.

Running

to run:

python bin/main.py

PyQt5 Installation

the requirements PyQt5 and sip are available from Riverbank Computing Limited at:

if on Windows just download the installer for your python version

if on Linux or Mac follow this path:

you can run the included pyqt5_check.py which will grab, build and install Qt5, sip and PyQt5 in your python environment. It is cleanest using virtualenv and virtualenvwrapper creating a virtualenv with:

mkvirtualenv -p /path/to/python/of/choice/bin/python myvenv
python pyqt5_check.py

and then running the script, but you can definitely install in your system python if you run:

sudo python pyqt5_check.py

or you can manually:

  1. Install Qt5. download the online installer
  2. Build sip and PyQt5 against this Qt5

Of course there are many ways to accomplish this feat, but needless to say OS X and Linux installs of PyQt5 can be painful for some people.

Anaconda

I'm told cadnano runs well in Anaconda with PyQt5 support built in

nno2stl: Conversion of cadnano .nno files to 3D STL model

The purpose of this is for 3D printing cadnano designs

About

Development version of cadnano using pyqt5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%