Comments (8)
I would prefer not to for a few reasons:
- ipython does not come installed by default. You probably installed it yourself in the base environment.
- moleculekit's main purpose is not meant to be used interactively like HTMD. It's a library to be used inside other projects. For people who want to program interactively HTMD comes with everything preinstalled.
- It's also not a "dependency" of the code in any sense. Adding it in pulls lots of other stuff* which is not needed, potentially causing dependency issues, increasing install times etc, etc.
* Stuff
package | build
---------------------------|-----------------
decorator-4.4.1 | py_0 13 KB
ipython-7.9.0 | py37h39e3cac_0 1.1 MB
jedi-0.15.1 | py37_0 704 KB
parso-0.5.1 | py_0 68 KB
pexpect-4.7.0 | py37_0 80 KB
prompt_toolkit-2.0.10 | py_0 227 KB
pygments-2.4.2 | py_0 664 KB
traitlets-4.3.3 | py37_0 138 KB
------------------------------------------------------------
from moleculekit.
from moleculekit.
The size is just a minor issue. As I said: a) ipython not installed by default. The problem is specific to your own setup b) it's not a real dep c) HTMD takes care of having an interactive installation.
from moleculekit.
from moleculekit.
from moleculekit.
from moleculekit.
No, I'm trying to point out that this only happened because of your specific conda setup
(base) stefan@spectre:~$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
(base) stefan@spectre:~$ bash Miniconda3-latest-Linux-x86_64.sh
(base) stefan@spectre:~$ ipython
Command 'ipython' not found, but can be installed with:
sudo apt install ipython
(base) stefan@spectre:~$ conda install moleculekit -c acellera
(base) stefan@spectre:~$ ipython
Command 'ipython' not found, but can be installed with:
sudo apt install ipython
(base) stefan@spectre:~$ conda install ipython
ipython doesn't come installed with Miniconda.
The issue you had only exists because you explicitly installed ipython in your base environment and then created a different environment with moleculekit.
This would not have happened if a) you installed moleculekit in your base environment b) you hadn't installed ipython in the main environment c) if you were using Jupyter (which many people use). Should we also install jupyter, or Spyder because some people use it?
Examples which don't put ipython in their deps:
- PyEmma: https://github.com/markovmodel/PyEMMA/blob/devel/setup.py#L291
- MDTraj: https://github.com/mdtraj/mdtraj/blob/master/setup.py#L258
- Biopython: https://github.com/biopython/biopython/blob/master/setup.py#L282
- OpenMM: https://github.com/openmm/openmm/blob/8fac83437cfb9a8f156eb9e1609b7be17b1a52e8/.travis.yml#L5
- MSMBuilder: https://github.com/msmbuilder/msmbuilder/blob/master/setup.py#L82
I'm totally up for writing a user guide or "Get started" tutorial which shows how to use moleculekit and suggesting to use ipython or jupyter.
from moleculekit.
Updated the readme to include detailed info on installation as well as how to use with ipython
d19400a
from moleculekit.
Related Issues (20)
- Add support for preparing non-canonical residues with backbone modifications HOT 1
- Small molecule CIFs can have ? coordinates HOT 1
- Wrapping bug puts water atoms way outside the box in a small set of frames HOT 1
- Finding difference between voxels of two different protein HOT 1
- PIP incompatibility: filename has '1.2.0', but metadata has '0' HOT 5
- Protein atoms regarded as nonprotein atoms by atomselect() HOT 2
- Add sasa option to the atom selection language HOT 2
- Update getFingerprint in moleculekit HOT 2
- SmallMolLib unexpected behaviour HOT 4
- atomselect fails on resnames that start with number HOT 3
- Syntax error with atomselect HOT 6
- ImportError HOT 3
- Conda package contains `.h` and `.cpp` HOT 7
- `atomselect` doesn't recognize `numbonds` HOT 1
- Failed to parse selection resid<200 HOT 3
- ValueError: Unable to debump biomolecule. Biomolecular structure is incomplete: Found gap in biomolecule structure for atom ATOM HOT 6
- Editing velocity files HOT 2
- numpy version, infinite loop when calling Molecule HOT 2
- `atomselect` improvements
- Fix issue with terminal histidine protonation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moleculekit.