-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This isinstance check for Process objects
biosimspace/python/BioSimSpace/Trajectory/_trajectory.py
Lines 397 to 409 in b530cb1
| # BioSimSpace process. | |
| if process is not None: | |
| if isinstance(process, _Process): | |
| self._process = process | |
| process_name = process.__class__.__name__ | |
| # Check that the process can generate a trajectory. | |
| if not self._process._has_trajectory: | |
| raise ValueError( | |
| "BioSimSpace.Process.%s cannot generate a trajectory!" | |
| % process_name | |
| ) | |
| else: | |
| raise TypeError("'process' must be of type 'BioSimSpace.Process'.") |
Process.OpenMM.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working