Hi CodeEntropy developers,
I am trying to use CodeEntropy to calculate configurational entropy for a small molecule simulated using molecular dynamics (MD) in the gas phase with AMBER. Since this is a gas-phase simulation, I am not using periodic boundary conditions (PBC).
However, CodeEntropy fails during the initial trajectory processing with the following error:
AttributeError: 'NoneType' object has no attribute 'copy'
The traceback points to CodeEntropy/trajectory/mda.py, inside the merge_forces() method, where the code attempts to extract trajectory dimensions:
dimensions = self._extract_timeseries(
select_atom, kind="dimensions"
)
Within _extract_timeseries(), the code attempts to execute:
values.append(universe.dimensions.copy())
For a non-periodic gas-phase trajectory, universe.dimensions is None, so this operation raises an AttributeError.
Additional Information
I would expect CodeEntropy to support non-periodic trajectories. Gas-phase MD simulations of isolated small molecules are a useful application, particularly for calculating molecular configurational entropy and investigating its relationship with properties such as solubility.
Hi CodeEntropy developers,
I am trying to use CodeEntropy to calculate configurational entropy for a small molecule simulated using molecular dynamics (MD) in the gas phase with AMBER. Since this is a gas-phase simulation, I am not using periodic boundary conditions (PBC).
However, CodeEntropy fails during the initial trajectory processing with the following error:
AttributeError: 'NoneType' object has no attribute 'copy'
The traceback points to CodeEntropy/trajectory/mda.py, inside the merge_forces() method, where the code attempts to extract trajectory dimensions:
dimensions = self._extract_timeseries(
select_atom, kind="dimensions"
)
Within _extract_timeseries(), the code attempts to execute:
values.append(universe.dimensions.copy())
For a non-periodic gas-phase trajectory, universe.dimensions is None, so this operation raises an AttributeError.
Additional Information
I would expect CodeEntropy to support non-periodic trajectories. Gas-phase MD simulations of isolated small molecules are a useful application, particularly for calculating molecular configurational entropy and investigating its relationship with properties such as solubility.