143 Commits

Author SHA1 Message Date
reneeotten
f7048b4275 Allow building with latst vtk-m release (v1.7) 2021-12-22 10:45:41 -05:00
Thomas Holder
5a6d65e8a5 Fix build with VTK-m 1.6
New `--use-vtkm` choices: ('1.5', '1.6', 'no')
2021-07-07 11:52:16 -04:00
Jarrett Johnson
ec85885784 Don't use Vtkm by default 2021-04-28 06:04:18 -04:00
Thomas Holder
b85270bc30 PYMOL-3528 isosurface with VTKm
New setting: isosurface_algorithm
2021-04-28 05:17:34 -04:00
Thomas Holder
f3c0419654 rebond pbc=1
- Add `pbc` argument to cmd.rebond()
- Refactor ObjectMoleculeConnect
- Add support for OpenMP
2021-02-11 19:05:08 +01:00
Thomas Holder
5ea147db01 Move tnt -> include/, cealign -> layer0/ 2020-12-03 18:10:46 +01:00
Thomas Holder
8298707a6b Remove libexecinfo dependency
Remove the unix-only `backtrace` code from `print_trace()`. Kept the
function so that it can be used to set a breakpoint with a debugger.

Closes https://github.com/schrodinger/pymol-open-source/issues/135
2020-10-05 14:06:38 +02:00
Thomas Holder
fe5de619bf Debug build (Unix): Use _GLIBCXX_ASSERTIONS
This would have revealed this bug early:
https://github.com/schrodinger/pymol-open-source/issues/119
2020-07-29 11:54:57 +02:00
Thomas Holder
bcd4ef2001 setup.py: Improve get_prefix_path() with venv
When detecting Homebrew/MacPorts/etc. on macOS, use `sys.base_prefix`
which works for virtual environments.

Closes #46
2020-07-04 12:41:00 +02:00
Thomas Holder
4492413cdb Launch script: No PYMOL_PATH for default 2020-06-26 19:17:23 +02:00
Thomas Holder
cf0a014d2b remove -ffast-math -funroll-loops -fcommon
- We have no proof that `-ffast-math` or `-funroll-loops` really
  improve performance
- `-ffast-math` is problematic for testing because results sometimes
  differ between compilers
- Recent clang fails to compile with `-ffast-math`
2020-04-09 16:04:56 +02:00
Thomas Holder
1d98290033 refactor symmetry function
get_symmetry
set_symmetry
symmetry_copy
2020-02-20 12:31:22 +01:00
Thomas Holder
7975686e46 add netcdf molfile plugin 2019-12-02 14:06:13 +01:00
Thomas Holder
baee4694d0 detect netcdf trajectories 2019-12-02 14:04:13 +01:00
Thomas Holder
b57f131940 -Wunused-variable 2019-11-27 13:18:08 +01:00
Pedro Lacerda
b82f8b30ac Add exec call to launcher 2019-11-12 00:48:57 -08:00
Thomas Holder
276640cd29 Port EPAM's VR fork to PyMOL 2.4
Porting the essential parts of EPAM System's "openvr" branch to the
master branch.

Original authors:
Natalia Smirnova, EPAM Systems, Inc.
Pavel Smirnov, EPAM Systems, Inc.

Original fork:
https://github.com/epam/pymol-open-source/tree/openvr

Adjustments:
- Make feature optional with "--openvr" compile option
- Python 3 support
- Remove C++11 workarounds
- Exclude build system changes

Co-authored-by: Natalia Smirnova <Natalia_Smirnova@epam.com>
Co-authored-by: Pavel Smirnov <pavel_smirnov1@epam.com>
2019-11-11 00:50:01 -08:00
Thomas Holder
5a4ab0eaa9 PYMOL-3272 remove obsolete metaphorics code
cex files and m4x annotated PDB files don't exist anymore.
cex loading was broken for a long time, proof that nobody was using it.
2019-08-19 22:07:24 +02:00
Thomas Holder
55135c8d04 pymol::zstring_view 2019-06-07 16:22:08 +02:00
Thomas Holder
1fe652c0bf setup.py: handle DEBUG in build_ext 2019-05-16 08:56:06 +02:00
Thomas Holder
723166140a PYMOL-3219 eliminate _PYMOL_INLINE 2019-03-29 13:37:41 +01:00
Thomas Holder
d53d23d2cc DEBUG=1 -> -Og instead of -O0 2019-03-29 12:40:32 +01:00
Thomas Holder
b59ce09d8a refactor: pymol::malloc<T>
- use typed/namespaced malloc wrapper
- remove Alloc et al.
- remove mmalloc et al.
- remove CINTERFACE define
2019-02-21 17:41:58 +01:00
Thomas Holder
09ad21e3ed cleanup: remove SVN stuff 2019-02-12 16:58:50 +01:00
Thomas Holder
abb3b2f265 remove --bundled-pmw 2019-01-24 20:32:01 +01:00
Thomas Holder
2162bb8d2e setup.py: cleanup 2018-12-04 20:31:35 +01:00
Jarrett Johnson
d859e67b5b Added catch2 unit testing framework 2018-11-15 17:53:25 +01:00
Thomas Holder
1b1910cfbb setup.py: --glut --no-osx-frameworks
Change the defaults of these flags
2018-11-15 16:04:43 +01:00
Thomas Holder
b04f3a1eac DEBUG=1 -> -O0 instead of -O3 2018-09-25 12:03:10 +02:00
Thomas Holder
33937d8543 setup.py: drop --no-cxx11 option 2018-09-03 15:27:33 +02:00
Thomas Holder
4f3c781a74 cleanup: compiler warnings
-Wdangling-else
-Wmisleading-indentation
-Wmismatched-tags
-Wparentheses
-Wsometimes-uninitialized
-Wunused-but-set-variable
-Wunused-function
-Wunused-label
-Wunused-variable
2018-08-16 19:00:17 +02:00
Thomas Holder
f21c61958e Graphics refactoring, ported from Incentive PyMOL 2018-07-03 20:19:12 +02:00
Thomas Holder
1742d75d13 anaglyph batch mode, all_states measurements, ...
* fix anaglyph stereo in batch (headless) mode
* fix possible memory corruption with boolean settings
* measurement wizard: distances between states (all_states=on)
* get_fastastr: nucleic acid, by chain
* menu: A (Action) > group
* sequence viewer menu: ss (Secondary Structure)
* MAE export of groups (s_m_subgroupid)
* macOS: -O3 -fno-strict-aliasing (bugs/205)
2018-05-03 14:46:44 +00:00
Thomas Holder
7d2bb243e6 restore r4188
r4188 was published on 2018-04-10 but lost after a sourceforge storage problem.
See for example https://sourceforge.net/p/forge/site-support/17420/

2.2.0a0 (unstable/experimental)

* sf.net/p/pymol/bugs/199 bash -> sh
* ignore zero-order bonds in neighbor lookup
* fix crash loading reduced 5ijo.mmtf
* volume panel: fix zoom (CTRL+R-Drag) and value input (R-Click)
* QOpenGLWidget support (not active by default)
* --gldebug -> backtrace on GL error
2018-05-02 06:32:39 +00:00
Thomas Holder
6bcd4ce7a3 PyQt interface (2.1.0) 2018-03-13 15:32:34 +00:00
Thomas Holder
124dbbbaf0 pse_export_version support with Python 3 2017-10-23 11:40:45 +00:00
Thomas Holder
520bf2a72a 1.9.0.0
* use PyMOL 2.0 setting defaults
* L > residues (oneletter)
* fix py3 crash in "A > copy to object"
* fix scene object visibility with hidden groups
* fix "ending" after loading movie session
2017-10-18 17:21:19 +00:00
Thomas Holder
09fe0a5fbc 1.8.7.0
* support "not ..." and "enabled" in name patterns (e.g.: delete not enabled)
* improve/fix unicode+utf-8 handling for labels
* iterate color settings: type int (e.g.: iterate all, print(s.sphere_color))
* fix cmd.load with contents https://sf.net/p/pymol/mailman/message/35966326/
* fix ray tracing of stick_ball + valence https://sf.net/p/pymol/mailman/message/35928857/
2017-08-02 11:36:28 +00:00
Thomas Holder
0629165364 patches/12, bugs/148
- web.pymolhttpd -> pymol.pymolhttpd
  Generic "web" name conflicts with webpy
  https://sf.net/p/pymol/bugs/148/
- make build reproducible
  https://sf.net/p/pymol/patches/12/
- delete obsolete packaging files
- internal command line: consistent behavior across platforms
2017-07-03 13:10:23 +00:00
Thomas Holder
e53f7d17eb label sele op, iterate/alter improvements, ...
* new "label" selection operator
* alter_state: remove restriction on x/y/z/flags
* iterate/label: expose "state" for discrete atoms
* CTRL+L drag/click -> move/center in 3-Button-Viewing mode
* auto-detect $PREFIX/share/pymol as $PYMOL_PATH
* locale LC_NUMERIC=C float parsing/formatting
* Python 3: fix wrong PyCapsule_New destructor
2017-06-01 10:09:12 +00:00
Thomas Holder
ed1f78cff9 Python 3.6 fixes 2017-04-26 13:08:45 +00:00
Thomas Holder
5b92a73de7 mmtf updates
- mmtf: "ignore" flag for hetatm
- mmtf: msgpack version check
- INSTALL: env variables documentation
- Tcl/Tk menu updates
2017-02-27 20:48:56 +00:00
Thomas Holder
1e324badee 1.8.5.1 (beta)
* fast MMTF load support in C++ (adds msgpack-c dependency)
* extra_fit: report RMS for method=cealign; Thanks to Hongbo Zhu
* CTRL-L ligand zoom
* preset > classified (auto_show_classified equivalent)
* preset > interface (ported from Incentive PyMOL 1.8.0)
* set_key auto-completion
* command completion for selection language
* fix connect_mode=4 for N-H1 and N-H3
* fix CGO ALPHA and dup COLOR issue
2017-02-23 14:37:57 +00:00
Thomas Holder
f6cfe9c55a mpng width/height, pick_shading/surface_color_smoothing, ...
* width/height arguments for movie export (mpng, movie.produce)
* fetch: support "fetch EMD-3489"
* auto_show_classified -1 => 3 for 500k+ atoms
* pick_shading => surface_color_smoothing off
* cleanup: eliminate pymol.pymol_launch variable
2017-01-19 15:45:50 +00:00
Thomas Holder
e117854c24 1.8.4.0 2016-10-05 15:23:46 +00:00
Thomas Holder
6f78f0d567 1.8.3.3 (unstable/experimental)
* pse_export_version: legacy scenes support
* use ignore_case setting with set_name command
* setup.py: detect anaconda prefix
2016-09-26 19:49:55 +00:00
Thomas Holder
999ceebbe8 1.8.3.2
* experimental MMTF load support
* map export in CCP4 format
* SDF V3000 import/export support
* refactor molecular file formats export: Unified handling of PDB, PQR, mmCIF, MOL2, SDF, XYZ, MAE
* PLY geometry import (as CGO)
* new command: unset_deep
* new setting: cartoon_all_alt: Create cartoon for every alt code
* stick_h_scale: default=1.0 (was: 0.4) but remove dependency on negative stick_radius
* auto_show_classified: Visualize small (< 50 atoms) polymer classified molecules like organic
* bymol selection operator: ignore zero-order bonds
* menu: isomesh/surface negative color
* improve alignment of residues with unknown resn (e.g. ligands):
  give a match score of 5 to perfect matches of unknown residue codes.
  Previously, those got match score -1.
* remove broken and obsolete "PMO" file support
* use "label_digits" setting with "label" command
* do not resize window when loading a session file
* fix ignored SCALE w/ identity rotation (e.g. 1WAP)
* fix "scene auto, clear" (Scene > Delete)
* new setting: pick_shading: do flat shading for programmable image color analysis
* experimental cmd.raw_image_callback: post cmd.draw() callback
2016-08-30 19:14:39 +00:00
Thomas Holder
27252080d6 fix mutagenesis wizard, FreeBSD support
- fix mutagenesis wizard "No Mutation" (update and rms commands)
- experimental FreeBSD support
2016-05-26 22:18:53 +00:00
Thomas Holder
f4582bbfcb pse_binary_dump, get_sasa_relative, color_deep, ...
- experimental setting "pse_binary_dump"
- get_sasa_relative (command ported from Incentive PyMOL)
- Color menu uses util.color_deep (ported from Incentive PyMOL)
- C > by rep (ported from Incentive PyMOL)
- fix crash when saving mesh PSE without map
- fix isosurface invalidation when setting surface_negative_visible
2016-04-17 02:00:50 +00:00
Thomas Holder
b3472cbace ignore_case_chain, cartoon_gap_cutoff, ...
* restore ignore_case=on default
* new setting: ignore_case_chain (default off)
* new setting: cartoon_gap_cutoff
* increase PYMOL_MAX_THREADS
* amber topology loading: bond order 1 for all bonds
* improve MOL2 file handling
* new grid_mode=3: grid per object-state
2016-02-08 15:59:56 +00:00