Skip to content

Fix bugs in animation loop and arc file writer#51

Open
cajfisher wants to merge 1 commit intoarohl:masterfrom
cajfisher:model-editing
Open

Fix bugs in animation loop and arc file writer#51
cajfisher wants to merge 1 commit intoarohl:masterfrom
cajfisher:model-editing

Conversation

@cajfisher
Copy link
Contributor

Animation loop was returning to frame 1 instead of frame 0, and has now been fixed.
The arc writer also gave the wrong Cartesian coordinates for lattices rotated away from gdis's default, so matrix for calculating atom coordinates should be generated from arc's lattice parameters (pbcs).

Animation loop was returning to frame 1 instead of frame 0, and has now been fixed.
The arc writer also gave the wrong Cartesian coordinates for lattices rotated away from gdis's default, so matrix for calculating atom coordinates should be generated from arc's lattice parameters (pbcs).
@ovhpa ovhpa self-assigned this Sep 4, 2022
end_count=0;

/*The energy is stored on the frame 1st line starting from the 65th caracter*/
/* energy is stored on the 1st line of frame from 65th charactear */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/charactear/character

if (is_marvin_label(c_type))
{
if (!marvin_core(c_type)) core_flag = FALSE;
region = marvin_region(c_type);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation problem.
Also, we don't have a C styling policy (that I know of).
So the many changes that only add a space or tab here and there are just making it harder to find what is really changed ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants