﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2124	Bundle's initialize() method doesn't get called on first installation	Tristan Croll	Conrad Huang	"In order to correctly load its libraries for OpenCL and CUDA, OpenMM requires the environment variable `OPENMM_PLUGIN_DIR` to be set before it's imported for the first time (the attempt to load its plugins happens when the top-level `__init__.py` is run, so this has to happen before ''anything'' is imported from OpenMM. After some head-scratching debugging over the weekend I've moved the necessary code to ISOLDE's `BundleAPI.initialize()` method and set `customInit=""true""` in `bundle_info.xml` to make this happen on ChimeraX startup. 

After looking into a report from Tom about the builds I uploaded last night, it appears that the `initialize()` method doesn't get called on first installation of the bundle, so anyone attempting to run ISOLDE immediately after installing will be faced with the message that no OpenCL or CUDA libraries were found.

The upshot here is that for any plugin with a custom init, `initialize()` needs to be called on installation or it won't work properly until after ChimeraX is restarted. "	defect	closed	moderate		Tool Shed		fixed						all	ChimeraX
